nixos/tests/corerad: Use curl --fail

gstqt5
Scott Worley 2020-09-16 09:55:54 -07:00 committed by Frederik Rietdijk
parent ad96a2e52b
commit 0812bb843d
1 changed files with 1 additions and 1 deletions

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