summaryrefslogtreecommitdiff
path: root/tests/integration_tests/modules
diff options
context:
space:
mode:
authorJames Falcon <TheRealFalcon@users.noreply.github.com>2021-01-26 11:25:04 -0600
committerGitHub <noreply@github.com>2021-01-26 12:25:04 -0500
commita9c904dc6438c908cd5341312311dfbbb18c81d2 (patch)
tree6d15e0b32a4a7f7160811225b1449ab4782cbb28 /tests/integration_tests/modules
parent1527efa740ce7e66d9506ea62b0b8010d71a4104 (diff)
downloadvyos-cloud-init-a9c904dc6438c908cd5341312311dfbbb18c81d2.tar.gz
vyos-cloud-init-a9c904dc6438c908cd5341312311dfbbb18c81d2.zip
Remove 'remove-raise-on-failure' calls from integration_tests (#788)
pycloudlib no longer raises exceptions when cloud-init fails to start, and the API has been updated accordingly. Changes have been made to integration tests accordingly
Diffstat (limited to 'tests/integration_tests/modules')
-rw-r--r--tests/integration_tests/modules/test_power_state_change.py4
1 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 844dccfa..32dfc86d 100644
--- a/tests/integration_tests/modules/test_power_state_change.py
+++ b/tests/integration_tests/modules/test_power_state_change.py
@@ -27,13 +27,13 @@ def _detect_reboot(instance: IntegrationInstance):
# detecting the first boot or second boot, so we also check
# the logs to ensure we've booted twice. If the logs show we've
# only booted once, wait until we've booted twice
- instance.instance.wait(raise_on_cloudinit_failure=False)
+ instance.instance.wait()
for _ in range(600):
try:
log = instance.read_from_file('/var/log/cloud-init.log')
boot_count = log.count("running 'init-local'")
if boot_count == 1:
- instance.instance.wait(raise_on_cloudinit_failure=False)
+ instance.instance.wait()
elif boot_count > 1:
break
except Exception: