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

LUCENE-10644: Facets#getAllChildren testing should ignore child order #1013

Merged
merged 1 commit into from Aug 18, 2022

Conversation

Yuti-G
Copy link
Contributor

@Yuti-G Yuti-G commented Jul 10, 2022

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

@Yuti-G Yuti-G changed the title fixed getAllChildren tests LUCENE-10644: Facets#getAllChildren testing should ignore child order Jul 10, 2022
Copy link
Contributor

@gsmiller gsmiller left a 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!

@gsmiller
Copy link
Contributor

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?

@Yuti-G
Copy link
Contributor Author

Yuti-G commented Jul 20, 2022

Yes, thanks @gsmiller for reviewing this new test approach! I will apply it to all the getAllChildren tests that I previously wrote.

@gsmiller
Copy link
Contributor

Sounds good. Thanks @Yuti-G!

@Yuti-G
Copy link
Contributor Author

Yuti-G commented Aug 16, 2022

Hi @gsmiller, thanks for your previous review, and I have applied the changes to all the getAllChildren tests. Would you please help me take another look whenever you have time? Thanks again!

Copy link
Contributor

@gsmiller gsmiller left a 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.

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.

None yet

3 participants