From fe6c468ecc4099ad2c100865e0c99fb4e757608a Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 30 Dec 2024 13:52:44 +0100 Subject: [PATCH] nixos/tests/prometheus-pushgateway: remove missing target network-online.target isn't wanted by multi-user.target anymore. --- nixos/tests/prometheus/pushgateway.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/tests/prometheus/pushgateway.nix b/nixos/tests/prometheus/pushgateway.nix index 1b42c965ca50..fb8b6c091aa1 100644 --- a/nixos/tests/prometheus/pushgateway.nix +++ b/nixos/tests/prometheus/pushgateway.nix @@ -66,8 +66,6 @@ import ../make-test-python.nix ( + "jq '.data.result[0].metric.version' | grep '\"${pkgs.prometheus-pushgateway.version}\"'" ) - client.wait_for_unit("network-online.target") - # Add a metric and check in Prometheus client.wait_until_succeeds( "echo 'some_metric 3.14' | curl --data-binary @- http://pushgateway:9091/metrics/job/some_job"