From 5efcf070a63eaa07cf8e16a5ea12ad77d7329d33 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 1 Dec 2023 02:19:56 +0100 Subject: [PATCH] checks/garage: sync on all jobs instead of just ascend-garage-layout --- packages/checks/garage.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/checks/garage.nix b/packages/checks/garage.nix index 6b9e34c..8d4aefa 100644 --- a/packages/checks/garage.nix +++ b/packages/checks/garage.nix @@ -94,7 +94,7 @@ testers.runNixOSTest { with subtest("should apply new layout with ascension"): for node in nodes: - node.wait_until_succeeds('test "$(systemctl is-active ascend-garage-layout)" != activating') + node.wait_until_succeeds('test "$(systemctl list-jobs | wc -l)" -eq 1') for node in nodes: node.succeed("/run/current-system/specialisation/modifiedLayout/bin/switch-to-configuration test")