From 2d5eaded06e3cb6d720c8cb2ba9c879f34ec3aaa Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 20 Sep 2026 11:19:05 +0200 Subject: [PATCH] grafana: don't shut down Only slows down the test as it umounts each bind-mounted store-path and not actually necessary. --- nixos/tests/grafana/basic.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/tests/grafana/basic.nix b/nixos/tests/grafana/basic.nix index 4f39051d5c53..4efef03a9d8c 100644 --- a/nixos/tests/grafana/basic.nix +++ b/nixos/tests/grafana/basic.nix @@ -118,7 +118,6 @@ in sqlite.succeed( "curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/org/users | grep admin\@localhost" ) - sqlite.shutdown() with subtest("Successful API query as admin user with sqlite db listening on socket"): socket.wait_for_unit("grafana.service") @@ -129,7 +128,6 @@ in socket.succeed( "curl -sSfN -u testadmin:snakeoilpwd http://[::1]/api/org/users | grep admin\@localhost" ) - socket.shutdown() with subtest("Successful API query as admin user with postgresql db"): postgresql.wait_for_unit("grafana.service") @@ -139,7 +137,6 @@ in postgresql.succeed( "curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/org/users | grep admin\@localhost" ) - postgresql.shutdown() with subtest("Successful API query as admin user with mysql db"): mysql.wait_for_unit("grafana.service") @@ -149,6 +146,5 @@ in mysql.succeed( "curl -sSfN -u testadmin:snakeoilpwd http://[::1]:3000/api/org/users | grep admin\@localhost" ) - mysql.shutdown() ''; }