Skip to content

test: verify central IPs are set even when central is already disabled#67

Open
matperin wants to merge 1 commit intocanonical:mainfrom
matperin:central-ip-already-disabled-check
Open

test: verify central IPs are set even when central is already disabled#67
matperin wants to merge 1 commit intocanonical:mainfrom
matperin:central-ip-already-disabled-check

Conversation

@matperin
Copy link
Copy Markdown
Contributor

Add assert_any_call checks for both the 'disable central' and 'config set ovn.central-ips' calls in
test_dataplane_mode_disable_central_fails_already_disabled.

The test previously only asserted the return value, leaving the regression fixed in 31ff7e2 uncovered.
The new assertions ensure both commands are always called in this path.

Add assert_any_call checks for both the 'disable central' and
'config set ovn.central-ips' calls in
test_dataplane_mode_disable_central_fails_already_disabled.

The test previously only asserted the return value, leaving the
regression fixed in 31ff7e2 uncovered.
The new assertions ensure both commands are always called in this path.

Signed-off-by: Matteo Perin <matteo.perin@canonical.com>
@matperin matperin requested a review from a team as a code owner March 19, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant