From ed9bd19ca88e4c6458c95d26151c734112615e9a Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Thu, 3 Dec 2020 12:46:24 -0500 Subject: integration_tests: introduce IntegrationInstance.restart (#708) This wraps pycloudlib's `BaseInstance.restart` and `BaseInstance.wait` to pass the same parameters as on launch, to avoid cloud-init failures on the _reboot_ raising an exception. --- tests/integration_tests/bugs/test_lp1900837.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration_tests/bugs/test_lp1900837.py') diff --git a/tests/integration_tests/bugs/test_lp1900837.py b/tests/integration_tests/bugs/test_lp1900837.py index 3fe7d0d0..18b00475 100644 --- a/tests/integration_tests/bugs/test_lp1900837.py +++ b/tests/integration_tests/bugs/test_lp1900837.py @@ -22,7 +22,7 @@ class TestLogPermissionsNotResetOnReboot: assert "600" == _get_log_perms(client) # Reboot - client.instance.restart() + client.restart() # Check that permissions are not reset on reboot assert "600" == _get_log_perms(client) -- cgit v1.2.3