+2
-2
nixos/tests/prometheus-exporters.nix
+2
-2
nixos/tests/prometheus-exporters.nix
···
1546
1546
wait_for_open_port(9374)
1547
1547
wait_until_succeeds(
1548
1548
"curl -sSf localhost:9374/metrics | grep '{}' | grep -v ' 0$'".format(
1549
-
'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source=""} '
1549
+
'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source="",tos="0"} '
1550
1550
)
1551
1551
)
1552
1552
wait_until_succeeds(
1553
1553
"curl -sSf localhost:9374/metrics | grep '{}'".format(
1554
-
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source=""}'
1554
+
'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source="",tos="0"}'
1555
1555
)
1556
1556
)
1557
1557
'';