mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 15:15:36 +00:00
nixos/tests/morty: Use curl --fail
This commit is contained in:
parent
4fc64f27c7
commit
47fd1c5356
|
@ -24,7 +24,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||||
''
|
''
|
||||||
mortyProxyWithKey.wait_for_unit("default.target")
|
mortyProxyWithKey.wait_for_unit("default.target")
|
||||||
mortyProxyWithKey.wait_for_open_port(3001)
|
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")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue