nixos/tests/oci-containers: Use curl --fail
This commit is contained in:
parent
7b51945dcb
commit
8bf2635afc
@ -32,7 +32,7 @@ let
|
|||||||
start_all()
|
start_all()
|
||||||
${backend}.wait_for_unit("${backend}-nginx.service")
|
${backend}.wait_for_unit("${backend}-nginx.service")
|
||||||
${backend}.wait_for_open_port(8181)
|
${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…
x
Reference in New Issue
Block a user