From 416d9af81b8aaee1af51a1cdf3ddfd3a39420328 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Tue, 15 Sep 2020 23:03:14 -0700 Subject: [PATCH] nixos/tests/neo4j: Use curl --fail --- nixos/tests/neo4j.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/neo4j.nix b/nixos/tests/neo4j.nix index 32ee7f501b8b..8329e5630d7a 100644 --- a/nixos/tests/neo4j.nix +++ b/nixos/tests/neo4j.nix @@ -15,6 +15,6 @@ import ./make-test-python.nix { master.wait_for_unit("neo4j") master.wait_for_open_port(7474) - master.succeed("curl http://localhost:7474/") + master.succeed("curl -f http://localhost:7474/") ''; }