nixos/tests/prometheus-exporters: add test script for fastly-exporter
This commit is contained in:
@@ -314,10 +314,9 @@ let
|
||||
tokenPath = pkgs.writeText "token" "abc123";
|
||||
};
|
||||
|
||||
# noop: fastly's exporter can't start without first talking to fastly
|
||||
# see: https://github.com/peterbourgon/fastly-exporter/issues/87
|
||||
exporterTest = ''
|
||||
succeed("true");
|
||||
wait_for_unit("prometheus-fastly-exporter.service")
|
||||
wait_for_open_port(9118)
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user