adapt shield to integration tests changes

we don't use ports 9200/9300 by default for integration tests anymore.
they easily conflict with the user running/debugging es on their machine.

Original commit: elastic/x-pack-elasticsearch@3ff7491459
This commit is contained in:
Robert Muir 2015-08-04 16:17:23 -04:00
parent e8364d6b50
commit 46685fd5ee
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
args="@{args} -Des.path.repo=@{home}/repo" />
<waitfor maxwait="3" maxwaitunit="minute" checkevery="500">
<socket server="127.0.0.1" port="9200"/>
<socket server="127.0.0.1" port="${integ.http.port}"/>
</waitfor>
<local name="integ.pid"/>
@ -32,6 +32,6 @@
<local name="temp.file"/>
<tempfile property="temp.file" destdir="${java.io.tmpdir}"/>
<get src="http://127.0.0.1:9200" dest="${temp.file}" username="test_user" password="changeme" verbose="true" retries="10"/>
<get src="http://127.0.0.1:${integ.http.port}" dest="${temp.file}" username="test_user" password="changeme" verbose="true" retries="10"/>
</target>
</project>