diff options
author | Scott Worley <scottworley@scottworley.com> | 2020-09-16 09:01:44 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-10-25 11:01:31 +0100 |
commit | eff7338d982744cd43f0e94166da7ed68500d261 (patch) | |
tree | 20cae68524b3a3aac67c738d4b25dcc838e35cf3 /nixos/tests | |
parent | 1abfb504b12350afbf83560fc54c472b289a128c (diff) |
nixos/tests/convos: Use curl --fail
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/convos.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/convos.nix b/nixos/tests/convos.nix index b4ff1188fd8be..af2758c857d09 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}/") ''; }) |