mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
nixos/tests/oci-containers: Use curl --fail
This commit is contained in:
parent
7b51945dcb
commit
8bf2635afc
|
@ -32,7 +32,7 @@ let
|
|||
start_all()
|
||||
${backend}.wait_for_unit("${backend}-nginx.service")
|
||||
${backend}.wait_for_open_port(8181)
|
||||
${backend}.wait_until_succeeds("curl http://localhost:8181 | grep Hello")
|
||||
${backend}.wait_until_succeeds("curl -f http://localhost:8181 | grep Hello")
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue