1
0
Fork 1
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:
Martin Weinelt 2024-06-10 02:59:16 +02:00
parent 10143bc497
commit 091d852f6f
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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)
'';
};