Unverified Commit 0648fa1c authored by Florian Brandes's avatar Florian Brandes
Browse files

nixosTests.octoprint: increase delay



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

Signed-off-by: default avatarFlorian Brandes <florian.brandes@posteo.de>
parent 4418aa67
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ in

    # 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
    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}' "

    # used to fail early, in case octoprint first starts and then crashes