Skip to content

Commit f90bda0

Browse files
authored
nixosTests.prometheus-exporters.smokeping: fix test after 0.10.0 (NixOS#435285)
2 parents 6acbd86 + 2103ba2 commit f90bda0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nixos/tests/prometheus-exporters.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,12 +1603,12 @@ let
16031603
wait_for_open_port(9374)
16041604
wait_until_succeeds(
16051605
"curl -sSf localhost:9374/metrics | grep '{}' | grep -v ' 0$'".format(
1606-
'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source=""} '
1606+
'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source="",tos="0"} '
16071607
)
16081608
)
16091609
wait_until_succeeds(
16101610
"curl -sSf localhost:9374/metrics | grep '{}'".format(
1611-
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source=""}'
1611+
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source="",tos="0"}'
16121612
)
16131613
)
16141614
'';

0 commit comments

Comments
 (0)