From 0812bb843d366c43a06ca599716062937527ab04 Mon Sep 17 00:00:00 2001 From: Scott Worley <scottworley@scottworley.com> Date: Wed, 16 Sep 2020 09:55:54 -0700 Subject: [PATCH] nixos/tests/corerad: Use curl --fail --- nixos/tests/corerad.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/corerad.nix b/nixos/tests/corerad.nix index 37a1e90477a8..638010f92f44 100644 --- a/nixos/tests/corerad.nix +++ b/nixos/tests/corerad.nix @@ -80,7 +80,7 @@ import ./make-test-python.nix ( ), "SLAAC temporary address was not configured on client after router advertisement" with subtest("Verify HTTP debug server is configured"): - out = router.succeed("curl localhost:9430/metrics") + out = router.succeed("curl -f localhost:9430/metrics") assert ( "corerad_build_info" in out