From 09193e5141ca45b822617399047204abd701047e Mon Sep 17 00:00:00 2001 From: James Falcon Date: Tue, 9 Feb 2021 12:03:23 -0500 Subject: Remove wait argument from tests with session_cloud calls (#805) --- tests/integration_tests/modules/test_power_state_change.py | 2 +- 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) -- cgit v1.2.3