mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
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
@ -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 New Issue
Block a user