lol

Merge pull request #267120 from teutat3s/zhf/fix-prometheus-exporter-smokeping

nixosTests.prometheus-exporters.smokeping fix test

authored by

Nick Cao and committed by
GitHub
02506494 3620d649

+2 -2
+2 -2
nixos/tests/prometheus-exporters.nix
··· 1318 1318 wait_for_open_port(9374) 1319 1319 wait_until_succeeds( 1320 1320 "curl -sSf localhost:9374/metrics | grep '{}' | grep -v ' 0$'".format( 1321 - 'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1"} ' 1321 + 'smokeping_requests_total{host="127.0.0.1",ip="127.0.0.1",source=""} ' 1322 1322 ) 1323 1323 ) 1324 1324 wait_until_succeeds( 1325 1325 "curl -sSf localhost:9374/metrics | grep '{}'".format( 1326 - 'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1"}' 1326 + 'smokeping_response_ttl{host="127.0.0.1",ip="127.0.0.1",source=""}' 1327 1327 ) 1328 1328 ) 1329 1329 '';