lxd: add wait_for_file() to ensure LXD is actually running

This commit is contained in:
Patryk Wychowaniec 2020-09-09 19:46:21 +02:00
parent 04111cb356
commit 93b8435915
No known key found for this signature in database
GPG Key ID: F62547D075E09767

View File

@ -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)