Merge pull request #233245 from teutat3s/zhf/fix-prometheus-exporter-domain

nixosTests.prometheus-exporters.domain fix test
This commit is contained in:
Martin Weinelt 2023-05-21 22:05:56 +02:00 committed by GitHub
commit f113e06f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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'")
'';
};