Skip to content

Commit

Permalink
test_automatic_host_removal: Force foreing changes
Browse files Browse the repository at this point in the history
We here need to force foreign changes during activation-changes,
otherwise the central site will stay with pending changes.

Change-Id: I1c342931f7937db76f3d8e83c2b2f8a0b1003f2c
  • Loading branch information
MatteoStifano committed Oct 28, 2024
1 parent 31676f4 commit df9e4f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/composition/test_automatic_host_removal.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_automatic_host_removal(
hostname=(unresolvable_host_remote := "not-dns-resovable-remote"),
attributes={"site": remote_site.id},
)
central_site.openapi.activate_changes_and_wait_for_completion()
central_site.openapi.activate_changes_and_wait_for_completion(force_foreign_changes=True)

def _host_removal_done() -> bool:
hostnames = {
Expand Down

0 comments on commit df9e4f2

Please sign in to comment.