mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixosTests.ngingx-http3: fix race condition
make the client wait for its network to come up before starting test
without the wait, the client might try to access the network before its
own network stack is up, as evidenced in
https://hydra.nixos.org/build/299048133/nixlog/9/tail
(cherry picked from commit 962db80796
)
This commit is contained in:
parent
b2875393f6
commit
b4f21322d7
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ builtins.listToAttrs (
|
|||
|
||||
server.wait_for_unit("nginx")
|
||||
server.wait_for_open_port(443)
|
||||
client.wait_for_unit("network-online.target")
|
||||
|
||||
# Check http connections
|
||||
client.succeed("curl --verbose --http3-only https://acme.test | grep 'Hello World!'")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue