From 30d6a499c6ec01b81f3cc259c467d7c691b203eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Tue, 3 Feb 2026 06:18:17 +0800 Subject: [PATCH] fix(ntfy tests): Tweak timeouts a bit --- configuration/services/ntfy-sh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration/services/ntfy-sh/default.nix b/configuration/services/ntfy-sh/default.nix index 39ace90..9cca567 100644 --- a/configuration/services/ntfy-sh/default.nix +++ b/configuration/services/ntfy-sh/default.nix @@ -137,17 +137,17 @@ in "curl", "--silent", "--show-error", - f"--max-time {timeout}", + f"--max-time {2 + timeout}", "-u tlater:insecure", f"http://ntfy.testHost/{topic}/json", - "> messages" + "-o messages" ] client.succeed(f'{" ".join(systemd_invocation)} "{" ".join(curl)}"') # Give some slack so the host doesn't send messages before # we're listening - time.sleep(1) + time.sleep(2) yield