Skip to content

Commit 04e6e6c

Browse files
committed
Fix cluster health API call
1 parent ad28fb9 commit 04e6e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/vagrant/src/test/resources/packaging/scripts/packaging_test_utils.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ wait_for_elasticsearch_status() {
402402
curl -sS "http://localhost:9200/_cluster/health?wait_for_status=$desiredStatus&timeout=60s&pretty"
403403
else
404404
echo "Trying to connect to elasticsearch and wait for expected status $desiredStatus for index $index"
405-
curl -sS "http://localhost:9200/_cluster/$index/health?wait_for_status=$desiredStatus&timeout=60s&pretty"
405+
curl -sS "http://localhost:9200/_cluster/health/$index?wait_for_status=$desiredStatus&timeout=60s&pretty"
406406
fi
407407
if [ $? -eq 0 ]; then
408408
echo "Connected"

0 commit comments

Comments
 (0)