nixosTests.prometheus-exporters.smokeping: fix test after 0.10.0 (#435285)

This commit is contained in:
Luke Granger-Brown
2025-08-21 10:06:46 +01:00
committed by GitHub
+2 -2
View File
@@ -1603,12 +1603,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",source=""} '
'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source="",tos="0"} '
)
)
wait_until_succeeds(
"curl -sSf localhost:9374/metrics | grep '{}'".format(
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source=""}'
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source="",tos="0"}'
)
)
'';