nixos/cloud-init: fail test faster
This commit is contained in:
parent
039ec28011
commit
409782d025
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ in makeTest {
|
||||||
};
|
};
|
||||||
testScript = ''
|
testScript = ''
|
||||||
# To wait until cloud-init terminates its run
|
# To wait until cloud-init terminates its run
|
||||||
|
unnamed.wait_for_unit("cloud-init-local.service")
|
||||||
unnamed.wait_for_unit("cloud-final.service")
|
unnamed.wait_for_unit("cloud-final.service")
|
||||||
|
|
||||||
unnamed.succeed("cat /tmp/cloudinit-write-file | grep -q 'cloudinit'")
|
unnamed.succeed("cat /tmp/cloudinit-write-file | grep -q 'cloudinit'")
|
||||||
|
|
Loading…
Reference in a new issue