mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
nixos/tests/prometheus-exporters: add test script for fastly-exporter
This commit is contained in:
parent
10143bc497
commit
091d852f6f
|
@ -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)
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue