diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-07-27 16:04:08 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-07-27 16:04:08 +0000 |
commit | 361ae34d3fd2f5784ddac23c6650ac5a8f2e14cd (patch) | |
tree | dd2a634fea8602a87cc85c484bf93f0476431f81 /tools/mock-meta.py | |
parent | 3146c96a7a740427ac6e65f9b29239f247ecc617 (diff) | |
download | vyos-cloud-init-361ae34d3fd2f5784ddac23c6650ac5a8f2e14cd.tar.gz vyos-cloud-init-361ae34d3fd2f5784ddac23c6650ac5a8f2e14cd.zip |
tests: improve LXDInstance trying to workaround or catch bug.
Described in bug 1783198 we have seen some transient failures when
using pylxd -> lxd api.
This does:
* adds a str() representation of LXDInstance
* checks the value of the pylxd_container object on instantion
* sets pylxd_container object to None on deletion.
* adds retry logic to shutdown()
Diffstat (limited to 'tools/mock-meta.py')
0 files changed, 0 insertions, 0 deletions