From b9cf43b2c3b3d1389091c3a9efe6a53b8b28512d Mon Sep 17 00:00:00 2001 From: Matteo Stifano Date: Mon, 30 Sep 2024 10:57:51 +0200 Subject: [PATCH] test-plugin: Include changes activation after test's teardown We delete the host after test's execution but we do not activate changes. Here we fix this. Change-Id: I9cee8d0596047335ea39578961e971cd361b62c9 --- tests/plugins_integration/checks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/plugins_integration/checks.py b/tests/plugins_integration/checks.py index 591504f55c6..edb784f5e7e 100644 --- a/tests/plugins_integration/checks.py +++ b/tests/plugins_integration/checks.py @@ -489,6 +489,7 @@ def setup_host(site: Site, host_name: str, skip_cleanup: bool = False) -> Iterat if not (config.skip_cleanup or skip_cleanup): logger.info('Deleting host "%s"...', host_name) site.openapi.delete_host(host_name) + site.activate_changes_and_wait_for_core_reload() @contextmanager