nixosTests.prometheus-exporters.domain fix test

This commit is contained in:
teutat3s 2023-05-21 16:47:12 +02:00
parent 3005f20ce0
commit 998819a01a
No known key found for this signature in database
GPG key ID: 18DAE600A6BBE705

View file

@ -234,9 +234,7 @@ let
exporterTest = ''
wait_for_unit("prometheus-domain-exporter.service")
wait_for_open_port(9222)
succeed(
"curl -sSf 'http://localhost:9222/probe?target=nixos.org' | grep 'domain_probe_success 0'"
)
succeed("curl -sSf 'http://localhost:9222/probe?target=nixos.org'")
'';
};