diff options
author | James Falcon <TheRealFalcon@users.noreply.github.com> | 2021-02-09 12:03:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 12:03:23 -0500 |
commit | 09193e5141ca45b822617399047204abd701047e (patch) | |
tree | b27a05d8f6ba026f802ddb371ca475cf1cb841be /tests/integration_tests | |
parent | 0497c7b1f752c7011006b36f9c07ac141c0bb3c2 (diff) | |
download | vyos-cloud-init-09193e5141ca45b822617399047204abd701047e.tar.gz vyos-cloud-init-09193e5141ca45b822617399047204abd701047e.zip |
Remove wait argument from tests with session_cloud calls (#805)
Diffstat (limited to 'tests/integration_tests')
-rw-r--r-- | tests/integration_tests/modules/test_power_state_change.py | 2 | ||||
-rw-r--r-- | tests/integration_tests/test_upgrade.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration_tests/modules/test_power_state_change.py b/tests/integration_tests/modules/test_power_state_change.py index 32dfc86d..eebe6608 100644 --- a/tests/integration_tests/modules/test_power_state_change.py +++ b/tests/integration_tests/modules/test_power_state_change.py @@ -65,7 +65,7 @@ class TestPowerChange: with session_cloud.launch( user_data=USER_DATA.format( delay=delay, mode=mode, timeout=timeout, condition='true'), - wait=False + launch_kwargs={'wait': False}, ) as instance: if mode == 'reboot': _detect_reboot(instance) diff --git a/tests/integration_tests/test_upgrade.py b/tests/integration_tests/test_upgrade.py index 233a574b..c20cb3c1 100644 --- a/tests/integration_tests/test_upgrade.py +++ b/tests/integration_tests/test_upgrade.py @@ -87,7 +87,7 @@ def test_upgrade(session_cloud: IntegrationCloud): netcfg_path = '/etc/network/interfaces.d/50-cloud-init.cfg' with session_cloud.launch( - launch_kwargs=launch_kwargs, user_data=USER_DATA, wait=True, + launch_kwargs=launch_kwargs, user_data=USER_DATA, ) as instance: _output_to_compare(instance, before_path, netcfg_path) instance.install_new_cloud_init(source, take_snapshot=False) |