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",
|
"curl",
|
||||||
"--silent",
|
"--silent",
|
||||||
"--show-error",
|
"--show-error",
|
||||||
f"--max-time {timeout}",
|
f"--max-time {2 + timeout}",
|
||||||
"-u tlater:insecure",
|
"-u tlater:insecure",
|
||||||
f"http://ntfy.testHost/{topic}/json",
|
f"http://ntfy.testHost/{topic}/json",
|
||||||
"> messages"
|
"-o messages"
|
||||||
]
|
]
|
||||||
|
|
||||||
client.succeed(f'{" ".join(systemd_invocation)} "{" ".join(curl)}"')
|
client.succeed(f'{" ".join(systemd_invocation)} "{" ".join(curl)}"')
|
||||||
|
|
||||||
# Give some slack so the host doesn't send messages before
|
# Give some slack so the host doesn't send messages before
|
||||||
# we're listening
|
# we're listening
|
||||||
time.sleep(1)
|
time.sleep(2)
|
||||||
|
|
||||||
yield
|
yield
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue