diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix index adc2b467be51..907e4ee3cadb 100644 --- a/nixos/tests/prometheus-exporters.nix +++ b/nixos/tests/prometheus-exporters.nix @@ -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'") ''; };