Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix create delete test for rebalance logic #982

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

baum
Copy link
Collaborator

@baum baum commented Dec 13, 2024

Fix create delete test for rebalance logic

In #980, the removal of the failover state transition rendered the test awkward. The initial state and the state described as "failover" became identical, allowing the test to pass even if no monitor action occurred in response to gateway deletions.

Parallelized the check for healthy gateways and their subsystems. Each parallel task first verifies the "failover" number of groups and then confirms the "rebalance" number of group in degraded state.

See #980 (comment)

@baum baum force-pushed the create_delete_test_fix branch 2 times, most recently from 9df74a6 to fbe447b Compare December 14, 2024 09:12
@leonidc leonidc assigned leonidc and unassigned leonidc Dec 15, 2024
Signed-off-by: Alexander Indenbaum <[email protected]>
@baum baum force-pushed the create_delete_test_fix branch from fbe447b to 137496f Compare December 17, 2024 15:35
@baum baum merged commit 2539ac4 into ceph:devel Dec 17, 2024
46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants