From 6c857f20038d2ea8d7dd9eff5fa16feeabd3caab Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 2 Dec 2025 15:08:47 +0200 Subject: [PATCH] nixosTests.syncthing-many-devices: reduce curl's #retries --- nixos/tests/syncthing/many-devices.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/syncthing/many-devices.nix b/nixos/tests/syncthing/many-devices.nix index 0c704b3d4048..8b0fffee0517 100644 --- a/nixos/tests/syncthing/many-devices.nix +++ b/nixos/tests/syncthing/many-devices.nix @@ -138,7 +138,7 @@ let (printf "X-API-Key: "; cat "$RUNTIME_DIRECTORY/api_key") >"$RUNTIME_DIRECTORY/headers" ${pkgs.curl}/bin/curl -sSLk -H "@$RUNTIME_DIRECTORY/headers" \ - --retry 1000 --retry-delay 1 --retry-all-errors \ + --retry 5 --retry-delay 1 --retry-all-errors \ "$@" } curl -d ${lib.escapeShellArg (builtins.toJSON { deviceID = IDsToDelete.device; })} \