nixos/tests/corerad: Use curl --fail
This commit is contained in:
parent
ad96a2e52b
commit
0812bb843d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user