diff options
author | Scott Worley <scottworley@scottworley.com> | 2020-09-16 08:31:34 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-10-25 11:01:30 +0100 |
commit | 8bf2635afcefd3198f19fb15fafdea86c66b2a4c (patch) | |
tree | 661e35e58a5baf494ac5eb58c812d44a3d551d72 /nixos/tests | |
parent | 7b51945dcb715d48acdb9a05f3eff51bbdf524cd (diff) |
nixos/tests/oci-containers: Use curl --fail
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/oci-containers.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/oci-containers.nix b/nixos/tests/oci-containers.nix index bb6c019f07c99..0dfc7ffb276be 100644 --- a/nixos/tests/oci-containers.nix +++ b/nixos/tests/oci-containers.nix @@ -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") ''; }; |