Commit 7f45b345237b17dc9b87495e03d0209759d0b0a5

Authored by Andrew Kane
1 parent 22927de7

Better retry script

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/ci/install_elasticsearch.sh
... ... @@ -22,4 +22,4 @@ fi
22 22  
23 23 cd $CACHE_DIR
24 24 bin/elasticsearch -d
25   -wget -O- --waitretry=5 --tries=12 --retry-connrefused -v http://127.0.0.1:9200/
  25 +for i in {1..12}; do wget -O- -v http://127.0.0.1:9200/ && break || sleep 5; done
... ...