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.
This commit is contained in:
parent
5f297c164e
commit
8b926cad93
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue