fix(ntfy tests): Tweak timeouts a bit
This commit is contained in:
parent
aa7abbb9c0
commit
30d6a499c6
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue