nixos/tests/peerflix: Use curl --fail
This commit is contained in:
parent
7fbe33fde3
commit
d58ef9d20b
|
@ -18,6 +18,6 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||
start_all()
|
||||
|
||||
peerflix.wait_for_unit("peerflix.service")
|
||||
peerflix.wait_until_succeeds("curl localhost:9000")
|
||||
peerflix.wait_until_succeeds("curl -f localhost:9000")
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue