diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2021-02-22 12:03:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 12:03:53 -0500 |
commit | 38aee6eebb160d46287c63a979bb897b15bb2f96 (patch) | |
tree | 6c15bd72e2d6a5e0eb5c363525a9d4853c642415 /integration-requirements.txt | |
parent | 66e2d42dd1b722dc8e59f4e5990cea54f81ccd2a (diff) | |
download | vyos-cloud-init-38aee6eebb160d46287c63a979bb897b15bb2f96.tar.gz vyos-cloud-init-38aee6eebb160d46287c63a979bb897b15bb2f96.zip |
integration_tests: introduce lxd_use_exec mark (#802)
pycloudlib has modified the way LXD executes tests
(https://github.com/canonical/pycloudlib/pull/114): it will always use
SSH to access them by default, instead of using `lxc exec`. This
behaviour is transparent for them majority of cloud-init's integration
tests, but some currently depend on using `lxc exec` to access instances
with (intentionally) broken networking: obviously these are not
accessible via SSH.
pycloudlib retains support for switching an instance to use `lxc exec`.
This commit introduces the `lxd_use_exec` mark, which tests can use to
indicate to the integration testing framework that they should be so
switched, and applies it to all applicable tests.
Diffstat (limited to 'integration-requirements.txt')
-rw-r--r-- | integration-requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-requirements.txt b/integration-requirements.txt index c959001e..c64b3b26 100644 --- a/integration-requirements.txt +++ b/integration-requirements.txt @@ -1,5 +1,5 @@ # PyPI requirements for cloud-init integration testing # https://cloudinit.readthedocs.io/en/latest/topics/integration_tests.html # -pycloudlib @ git+https://github.com/canonical/pycloudlib.git@878981e3c7caaf583a8c7c5494dba9d9447acee8 +pycloudlib @ git+https://github.com/canonical/pycloudlib.git@3a6c668fed769f00d83d1e6bea7d68953787cc38 pytest |