nixos/tests/oci-containers: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 08:31:34 -07:00 committed by Frederik Rietdijk
parent 7b51945dcb
commit 8bf2635afc

View File

@ -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")
'';
};