Skip to content

Commit

Permalink
test-plugin: Include changes activation after test's teardown
Browse files Browse the repository at this point in the history
We delete the host after test's execution but we do not activate
changes.
Here we fix this.

Change-Id: I9cee8d0596047335ea39578961e971cd361b62c9
  • Loading branch information
MatteoStifano committed Sep 30, 2024
1 parent 93482a5 commit b9cf43b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/plugins_integration/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9cf43b

Please sign in to comment.