diff options
author | Patryk Wychowaniec <wychowaniec.patryk@gmail.com> | 2020-09-09 19:46:21 +0200 |
---|---|---|
committer | Patryk Wychowaniec <wychowaniec.patryk@gmail.com> | 2020-09-09 19:46:21 +0200 |
commit | 93b8435915e9bbc8efe0c9c40a1d981cebaa795c (patch) | |
tree | 2569c2d379a461f7db00c720333a40e5c791a328 /nixos/tests/lxd.nix | |
parent | 04111cb35689939bfd782243e2f92d873f25db5b (diff) |
lxd: add `wait_for_file()` to ensure LXD is actually running
Diffstat (limited to 'nixos/tests/lxd.nix')
-rw-r--r-- | nixos/tests/lxd.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/lxd.nix b/nixos/tests/lxd.nix index bf81fdd3edf1e..0ee3084f246bb 100644 --- a/nixos/tests/lxd.nix +++ b/nixos/tests/lxd.nix @@ -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) |