-
Notifications
You must be signed in to change notification settings - Fork 226
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 flaky test get cluster assertion #2753
Fix flaky test get cluster assertion #2753
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix and the analysis 🧐
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very cool !!
Pull request approved by @xyuanlu, @zpinto, @desaikomal |
Issues
#2749
testGetClusters fails due to equals assertion. The sets are the same but fail due to a difference in ordering
Description
The old method of assertEquals(set, set, msg) calls a testNG method that doesn't invoke the Set object's .equals() method. The old method asserts same order
simply changing to assertEquals(set, set) calls a method that invokes the set.equals() method which does not care about ordering
Tests
Running CI on personal branch:
https://github.com/GrantPSpencer/helix/actions/workflows/Helix-PR-CI.yml
Commits
Code Quality
(helix-style-intellij.xml if IntelliJ IDE is used)