about summary refs log tree commit diff
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 08:19:47 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:30 +0100
commitc69d4eda3d1b3badc2c928fc4201f1dc60062db4 (patch)
tree59f6e56a97d49a00be52b0ce387f3b3c998dcc9f
parentba0eda6cc5cf0b8c87243dd32542aff0d2c9f109 (diff)
nixos/tests/uwsgi: Use curl --fail
-rw-r--r--nixos/tests/uwsgi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/uwsgi.nix b/nixos/tests/uwsgi.nix
index 78a87147f55cd..7f4945a88030f 100644
--- a/nixos/tests/uwsgi.nix
+++ b/nixos/tests/uwsgi.nix
@@ -33,6 +33,6 @@ import ./make-test-python.nix ({ pkgs, ... }:
       machine.wait_for_unit("multi-user.target")
       machine.wait_for_unit("uwsgi.service")
       machine.wait_for_open_port(8000)
-      assert "Hello World" in machine.succeed("curl -v 127.0.0.1:8000")
+      assert "Hello World" in machine.succeed("curl -fv 127.0.0.1:8000")
     '';
 })