From bbd1f02b162197175db58ad4c249144786f27af8 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 16 Sep 2020 07:54:06 -0700 Subject: nixos/tests/hound: Use curl --fail --- nixos/tests/hound.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/hound.nix b/nixos/tests/hound.nix index 27c65abdf27..b8b10022bd9 100644 --- a/nixos/tests/hound.nix +++ b/nixos/tests/hound.nix @@ -53,7 +53,7 @@ import ./make-test-python.nix ({ pkgs, ... } : { machine.wait_for_unit("hound.service") machine.wait_for_open_port(6080) machine.wait_until_succeeds( - "curl http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep 'Filename' | grep 'hello'" + "curl -f http://127.0.0.1:6080/api/v1/search\?stats\=fosho\&repos\=\*\&rng=%3A20\&q\=hi\&files\=\&i=nope | grep 'Filename' | grep 'hello'" ) ''; }) -- cgit 1.4.1