summary refs log tree commit diff
path: root/nixos/tests/convos.nix
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-09-16 09:01:44 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-25 11:01:31 +0100
commiteff7338d982744cd43f0e94166da7ed68500d261 (patch)
tree20cae68524b3a3aac67c738d4b25dcc838e35cf3 /nixos/tests/convos.nix
parent1abfb504b12350afbf83560fc54c472b289a128c (diff)
downloadnixpkgs-eff7338d982744cd43f0e94166da7ed68500d261.tar
nixpkgs-eff7338d982744cd43f0e94166da7ed68500d261.tar.gz
nixpkgs-eff7338d982744cd43f0e94166da7ed68500d261.tar.bz2
nixpkgs-eff7338d982744cd43f0e94166da7ed68500d261.tar.lz
nixpkgs-eff7338d982744cd43f0e94166da7ed68500d261.tar.xz
nixpkgs-eff7338d982744cd43f0e94166da7ed68500d261.tar.zst
nixpkgs-eff7338d982744cd43f0e94166da7ed68500d261.zip
nixos/tests/convos: Use curl --fail
Diffstat (limited to 'nixos/tests/convos.nix')
-rw-r--r--nixos/tests/convos.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/convos.nix b/nixos/tests/convos.nix
index b4ff1188fd8..af2758c857d 100644
--- a/nixos/tests/convos.nix
+++ b/nixos/tests/convos.nix
@@ -25,6 +25,6 @@ in
     machine.wait_for_unit("convos")
     machine.wait_for_open_port("${toString port}")
     machine.succeed("journalctl -u convos | grep -q 'Listening at.*${toString port}'")
-    machine.succeed("curl http://localhost:${toString port}/")
+    machine.succeed("curl -f http://localhost:${toString port}/")
   '';
 })