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(test): use correct param and equivalence check #1930

Merged
merged 1 commit into from
May 5, 2021

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Apr 30, 2021

This test had never actually been making the correct assertion here as
it was doing an always true if assignableTopic == assignableTopic
check. After fixing that it became clear that the
Test_stickyBalanceStrategy_Plan_ReassignmentWithRandomSubscriptionsAndChanges
test was passing the wrong members parameter for its second phase. After
fixing both of those the test passed and checked the correct state.

This test had never actually been making the correct assertion here as
it was doing an always true `if assignableTopic == assignableTopic`
check. After fixing that it became clear that the
Test_stickyBalanceStrategy_Plan_ReassignmentWithRandomSubscriptionsAndChanges
test was passing the wrong members parameter for its second phase. After
fixing both of those the test passed and checked the correct state.
@dnwe dnwe requested a review from bai as a code owner April 30, 2021 11:06
@dnwe dnwe merged commit bbf1d62 into master May 5, 2021
@dnwe dnwe deleted the dnwe/fix-balance-strategy-test branch May 5, 2021 10:44
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