summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/integration_tests/modules/test_power_state_change.py2
-rw-r--r--tests/integration_tests/test_upgrade.py2
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)