Skip to content

Commit

Permalink
nixos/cloud-init: fail test faster
Browse files Browse the repository at this point in the history
  • Loading branch information
illustris committed Dec 12, 2023
1 parent 039ec28 commit 409782d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/tests/cloud-init.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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'")
Expand Down

0 comments on commit 409782d

Please sign in to comment.