From 0648fa1ce312537fcda4fdf0ed2dd054d20f93db Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Sun, 9 Nov 2025 11:55:00 +0100 Subject: [PATCH] nixosTests.octoprint: increase delay octoprint needs more time to start. Increasing the retry-delay ensures the tests pass. Signed-off-by: Florian Brandes --- nixos/tests/octoprint.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/octoprint.nix b/nixos/tests/octoprint.nix index 805b7c764b61..45299c045b95 100644 --- a/nixos/tests/octoprint.nix +++ b/nixos/tests/octoprint.nix @@ -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