From 409782d025cca6ae0f7cd26a17480f979942ceee Mon Sep 17 00:00:00 2001 From: illustris Date: Tue, 12 Dec 2023 09:40:12 +0530 Subject: [PATCH] nixos/cloud-init: fail test faster --- nixos/tests/cloud-init.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/cloud-init.nix b/nixos/tests/cloud-init.nix index 786e01add7d4..0b4c5a55c80a 100644 --- a/nixos/tests/cloud-init.nix +++ b/nixos/tests/cloud-init.nix @@ -73,6 +73,7 @@ in makeTest { }; testScript = '' # To wait until cloud-init terminates its run + unnamed.wait_for_unit("cloud-init-local.service") unnamed.wait_for_unit("cloud-final.service") unnamed.succeed("cat /tmp/cloudinit-write-file | grep -q 'cloudinit'")