nixos/tests: fix prometheus-exporter formatting
This commit is contained in:
parent
60f2e4f831
commit
7d1731186e
@ -457,9 +457,7 @@ let
|
|||||||
wait_for_unit("prometheus-varnish-exporter.service")
|
wait_for_unit("prometheus-varnish-exporter.service")
|
||||||
wait_for_open_port(6081)
|
wait_for_open_port(6081)
|
||||||
wait_for_open_port(9131)
|
wait_for_open_port(9131)
|
||||||
succeed(
|
succeed("curl -sSf http://localhost:9131/metrics | grep -q 'varnish_up 1'")
|
||||||
"curl -sSf http://localhost:9131/metrics | grep -q 'varnish_up 1'"
|
|
||||||
)
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user