nixos/tests/metabase: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 08:54:14 -07:00 committed by Frederik Rietdijk
parent d16e547f2e
commit 19034ed7a4

View File

@ -15,6 +15,6 @@ import ./make-test-python.nix ({ pkgs, ... }: {
start_all()
machine.wait_for_unit("metabase.service")
machine.wait_for_open_port(3000)
machine.wait_until_succeeds("curl -L http://localhost:3000/setup | grep Metabase")
machine.wait_until_succeeds("curl -fL http://localhost:3000/setup | grep Metabase")
'';
})