diff --git a/infra/scripts/test-alive.sh b/infra/scripts/test-alive.sh index 4fbd26b9..88df4f8a 100755 --- a/infra/scripts/test-alive.sh +++ b/infra/scripts/test-alive.sh @@ -7,7 +7,7 @@ timeout=900; elapse=0; range=10; test_result=1 -TAG=$(make get-current-version) +TAG=$(make get-current-tag) until [ "$elapse" -ge "$timeout" -o "$test_result" -eq "0" ] ; do [[ "$(curl -L -s $1/api/version)" == "$TAG" ]]