nixos/tests/peerflix: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 07:50:13 -07:00 committed by Frederik Rietdijk
parent 7fbe33fde3
commit d58ef9d20b

View File

@ -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")
'';
})