mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
nixos/tests/prometheus-exporters: remove exportarr_sonarr
This test has never worked. Not sure why it was merged in the first place.
This commit is contained in:
parent
cf433e2398
commit
f77e7dbd31
@ -257,21 +257,6 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
exportarr-sonarr = {
|
||||
nodeName = "exportarr_sonarr";
|
||||
exporterConfig = {
|
||||
enable = true;
|
||||
url = "http://127.0.0.1:8989";
|
||||
# testing for real data is tricky, because the api key can not be preconfigured
|
||||
apiKeyFile = pkgs.writeText "dummy-api-key" "eccff6a992bc2e4b88e46d064b26bb4e";
|
||||
};
|
||||
exporterTest = ''
|
||||
wait_for_unit("prometheus-exportarr-sonarr-exporter.service")
|
||||
wait_for_open_port(9707)
|
||||
succeed("curl -sSf 'http://localhost:9707/metrics")
|
||||
'';
|
||||
};
|
||||
|
||||
fastly = {
|
||||
exporterConfig = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user