nixosTests.octoprint: increase delay

octoprint needs more time to start.
Increasing the retry-delay ensures the tests pass.

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2025-11-09 11:55:00 +01:00
parent 4418aa67d3
commit 0648fa1ce3

View File

@@ -50,7 +50,7 @@ in
# octoprint takes some time to start. This makes sure we'll retry just in case it takes longer # octoprint takes some time to start. This makes sure we'll retry just in case it takes longer
# retry-all-errors in necessary, since octoprint will report a 404 error when not yet ready # retry-all-errors in necessary, since octoprint will report a 404 error when not yet ready
curl_cmd = "curl --retry-all-errors --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 \ curl_cmd = "curl --retry-all-errors --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 5 \
--retry-max-time 40 -X GET --header 'X-API-Key: ${apikey}' " --retry-max-time 40 -X GET --header 'X-API-Key: ${apikey}' "
# used to fail early, in case octoprint first starts and then crashes # used to fail early, in case octoprint first starts and then crashes