nixos/tests/corerad: Use curl --fail

This commit is contained in:
Scott Worley 2020-09-16 09:55:54 -07:00 committed by Frederik Rietdijk
parent ad96a2e52b
commit 0812bb843d

View File

@ -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