mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/tests/upnp: Use curl --fail
This commit is contained in:
parent
416d9af81b
commit
e90e600ebb
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ in
|
|||
client1.succeed("upnpc -a ${internalClient1Address} 9000 9000 TCP")
|
||||
|
||||
client1.wait_for_unit("httpd")
|
||||
client2.wait_until_succeeds("curl http://${externalRouterAddress}:9000/")
|
||||
client2.wait_until_succeeds("curl -f http://${externalRouterAddress}:9000/")
|
||||
'';
|
||||
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue