From: Paul Gevers Date: Thu, 23 May 2024 20:33:55 +0000 (+0200) Subject: tests: add --retry to first curl to avoid failing if siridb-server isn't ready yet X-Git-Tag: archive/raspbian/2.0.52-1+rpi1^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=712e136b2bc62de7e63adcecf15c014b6fbe78f2;p=siridb-server.git tests: add --retry to first curl to avoid failing if siridb-server isn't ready yet Closes: #1067705 (hopefully) --- diff --git a/debian/tests/http-api b/debian/tests/http-api index 3f359c68..0a21ee06 100644 --- a/debian/tests/http-api +++ b/debian/tests/http-api @@ -12,6 +12,7 @@ service siridb-server restart echo '* run queries' echo ' get-version' curl --silent --show-error --location --output res.txt \ + --retry 10 \ --request GET 'http://localhost:9020/get-version' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic c2E6c2lyaQ==' || RES=1