nixos/tests/morty: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 08:03:37 -07:00 committed by Frederik Rietdijk
parent 4fc64f27c7
commit 47fd1c5356

View File

@ -24,7 +24,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
''
mortyProxyWithKey.wait_for_unit("default.target")
mortyProxyWithKey.wait_for_open_port(3001)
mortyProxyWithKey.succeed("curl -L 127.0.0.1:3001 | grep MortyProxy")
mortyProxyWithKey.succeed("curl -fL 127.0.0.1:3001 | grep MortyProxy")
'';
})