diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-04-03 16:52:13 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-04-03 16:52:13 -0600 |
commit | 05926e48eae0fa70a26da6449617e04e87c4e704 (patch) | |
tree | 36cf4b810887d04a25a3c56fbadc4e6c1310bb90 /tests | |
parent | b27f713ae5b4c5b38eda63758dbaeab92be13b9d (diff) | |
download | vyos-cloud-init-05926e48eae0fa70a26da6449617e04e87c4e704.tar.gz vyos-cloud-init-05926e48eae0fa70a26da6449617e04e87c4e704.zip |
tests: fix integration tests to support lxd 3.0 release
Integration tests previously had a logic path that was unexercised on
jenkins because we were on an older version of lxc. With an upgrade to lxd
version 3.0 we need to bump pylxd dependency pin and fix a typo in
integration tests which checked the lxd version.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cloud_tests/platforms/lxd/instance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cloud_tests/platforms/lxd/instance.py b/tests/cloud_tests/platforms/lxd/instance.py index 0488da57..0d957bca 100644 --- a/tests/cloud_tests/platforms/lxd/instance.py +++ b/tests/cloud_tests/platforms/lxd/instance.py @@ -210,7 +210,7 @@ def _has_proper_console_support(): reason = "LXD server does not support console api extension" else: dver = info.get('environment', {}).get('driver_version', "") - if dver.startswith("2.") or dver.startwith("1."): + if dver.startswith("2.") or dver.startswith("1."): reason = "LXD Driver version not 3.x+ (%s)" % dver else: try: |