fix(ntfy tests): Tweak timeouts a bit

This commit is contained in:
Tristan Daniël Maat 2026-02-03 06:18:17 +08:00
parent aa7abbb9c0
commit 30d6a499c6
Signed by: tlater
GPG key ID: 02E935006CF2E8E7

View file

@ -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