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
+2 -3
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)
'';
};