From 5153c5f8a60c22727d94aeb990733be9e28ec8d7 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 7 Sep 2023 13:21:49 +0200 Subject: [PATCH] checks/ascensions: fix synchronization --- packages/checks/ascensions.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/checks/ascensions.nix b/packages/checks/ascensions.nix index c601790..a7dc52b 100644 --- a/packages/checks/ascensions.nix +++ b/packages/checks/ascensions.nix @@ -81,7 +81,7 @@ testers.runNixOSTest { node2.imports = [ common ]; }; testScript = /*python*/ '' - start_all() + node1.start() consul.wait_for_unit("consul.service") consul.wait_until_succeeds("CONSUL_HTTP_ADDR=consul:8500 consul members") node1.wait_for_unit("multi-user.target") @@ -89,6 +89,7 @@ testers.runNixOSTest { node1.succeed("tar cvf /tmp/shared/data.tar /data /var/lib/ascensions") node2.wait_for_unit("multi-user.target") + node2.succeed("rm -rf /data") node2.succeed("tar xvf /tmp/shared/data.tar -C /") node2.succeed("systemctl start create-file create-kv")