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
LUCENE-10644: Facets#getAllChildren testing should ignore child order #1013
Conversation
lucene/facet/src/test/org/apache/lucene/facet/FacetTestCase.java
Outdated
Show resolved
Hide resolved
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 iteration!
Thanks @Yuti-G! This approach looks good to me. Is your plan to iterate on this PR to stop enforcing the ordering checks in all the tests? |
Yes, thanks @gsmiller for reviewing this new test approach! I will apply it to all the getAllChildren tests that I previously wrote. |
Sounds good. Thanks @Yuti-G! |
Hi @gsmiller, thanks for your previous review, and I have applied the changes to all the |
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 iteration. Left a couple comments. Nothing major.
Fixed
getAllChildren
unit tests to compare labels and values with no assumption about the child ordering. This pr only fixed some of the unit tests, and will continue to fix all of them after receiving feedback on this initial attempt. Thanks!Jira: https://issues.apache.org/jira/browse/LUCENE-10644