lxd: add wait_for_file()
to ensure LXD is actually running
This commit is contained in:
parent
04111cb356
commit
93b8435915
@ -68,6 +68,7 @@ in {
|
||||
testScript = ''
|
||||
machine.wait_for_unit("sockets.target")
|
||||
machine.wait_for_unit("lxd.service")
|
||||
machine.wait_for_file("/var/lib/lxd/unix.socket")
|
||||
|
||||
# It takes additional second for lxd to settle
|
||||
machine.sleep(1)
|
||||
|
Loading…
Reference in New Issue
Block a user