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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user