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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

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 from 9931335 to 9df74a6 Compare December 14, 2024 06:48
Signed-off-by: Alexander Indenbaum <[email protected]>
@baum baum force-pushed the create_delete_test_fix branch from 9df74a6 to fbe447b Compare December 14, 2024 09:12
@leonidc leonidc assigned leonidc and unassigned leonidc Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

2 participants