From 7f45b345237b17dc9b87495e03d0209759d0b0a5 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 22 Jan 2019 19:35:15 -0800 Subject: [PATCH] Better retry script --- test/ci/install_elasticsearch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ci/install_elasticsearch.sh b/test/ci/install_elasticsearch.sh index d80fefe..a662a78 100755 --- a/test/ci/install_elasticsearch.sh +++ b/test/ci/install_elasticsearch.sh @@ -22,4 +22,4 @@ fi cd $CACHE_DIR bin/elasticsearch -d -wget -O- --waitretry=5 --tries=12 --retry-connrefused -v http://127.0.0.1:9200/ +for i in {1..12}; do wget -O- -v http://127.0.0.1:9200/ && break || sleep 5; done -- libgit2 0.21.0