about summary refs log tree commit diff
path: root/nixos/tests/grafana-agent.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-06-19 12:23:06 +0200
committerFlorian Klink <flokli@flokli.de>2022-06-19 12:23:06 +0200
commit8b926cad93f2b5a6d265312d415918cd80bed3f6 (patch)
treef4a8f528cf12fc8ad3557fdbb1e607ff73e647c7 /nixos/tests/grafana-agent.nix
parent5f297c164eed6f4b72ca0337698037a003354d28 (diff)
nixos/tests/grafana-agent: update port
We now don't explicitly configure a self-chosen port, but use the
default port choosen by grafana, 12345.
Diffstat (limited to 'nixos/tests/grafana-agent.nix')
-rw-r--r--nixos/tests/grafana-agent.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/grafana-agent.nix b/nixos/tests/grafana-agent.nix
index 97f752b350b01..a9f34d8cea31a 100644
--- a/nixos/tests/grafana-agent.nix
+++ b/nixos/tests/grafana-agent.nix
@@ -23,9 +23,9 @@ import ./make-test-python.nix ({ lib, pkgs, ... }:
 
       with subtest("Grafana-agent is running"):
           machine.wait_for_unit("grafana-agent.service")
-          machine.wait_for_open_port(9090)
+          machine.wait_for_open_port(12345)
           machine.succeed(
-              "curl -sSfN http://127.0.0.1:9090/-/healthy"
+              "curl -sSfN http://127.0.0.1:12345/-/healthy"
           )
           machine.shutdown()
     '';