about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 08:31:34 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:30 +0100
commit8bf2635afcefd3198f19fb15fafdea86c66b2a4c (patch)
tree661e35e58a5baf494ac5eb58c812d44a3d551d72 /nixos/tests
parent7b51945dcb715d48acdb9a05f3eff51bbdf524cd (diff)
nixos/tests/oci-containers: Use curl --fail
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/oci-containers.nix2
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")
     '';
   };