summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteutat3s <10206665+teutat3s@users.noreply.github.com>2023-11-13 00:46:27 +0100
committerteutat3s <10206665+teutat3s@users.noreply.github.com>2023-11-13 00:46:27 +0100
commit5458e56907cada9b410a21ab6dfba10a2ae6a034 (patch)
tree2251fd6cf18ab79d827a5722544cf230920a9d11
parent85f1ba3e51676fa8cc604a3d863d729026a6b8eb (diff)
nixosTests.prometheus-exporters.smokeping fix test
-rw-r--r--nixos/tests/prometheus-exporters.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix
index 7fd824967206..ebab6ae02619 100644
--- a/nixos/tests/prometheus-exporters.nix
+++ b/nixos/tests/prometheus-exporters.nix
@@ -1318,12 +1318,12 @@ let
wait_for_open_port(9374)
wait_until_succeeds(
"curl -sSf localhost:9374/metrics | grep '{}' | grep -v ' 0$'".format(
- 'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1"} '
+ 'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source=""} '
)
)
wait_until_succeeds(
"curl -sSf localhost:9374/metrics | grep '{}'".format(
- 'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1"}'
+ 'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source=""}'
)
)
'';