mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixosTests.prometheus-exporters.smokeping fix test
This commit is contained in:
parent
85f1ba3e51
commit
5458e56907
@ -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=""}'
|
||||
)
|
||||
)
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user