From 712e136b2bc62de7e63adcecf15c014b6fbe78f2 Mon Sep 17 00:00:00 2001 From: Paul Gevers Date: Thu, 23 May 2024 22:33:55 +0200 Subject: [PATCH] tests: add --retry to first curl to avoid failing if siridb-server isn't ready yet Closes: #1067705 (hopefully) --- debian/tests/http-api | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2