-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Add tests for remaining IntervalsSourceProvider implementations #50326
Conversation
@cbuescher there turned out to be a lot of dependencies between tests, because remaining providers may be nested and so are naturally dependent on each other. So I thought it would be better to add these tests as a single PR. |
Pinging @elastic/es-search (:Search/Search) |
# Conflicts: # server/src/test/java/org/elasticsearch/index/query/IntervalQueryBuilderTests.java
@cbuescher, can you review this, please? |
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.
This looks great @Hohol, thanks again for adding these tests. I left some very minor nit-picks, the rest LGTM. I will already run a round of tests even though you might want to add another commit just to see if there are unrelated test issues in this branch.
server/src/main/java/org/elasticsearch/index/query/IntervalsSourceProvider.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/index/query/IntervalsSourceProvider.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/index/query/MatchIntervalsSourceProviderTests.java
Outdated
Show resolved
Hide resolved
@elasticmachine test this please |
@elasticmachine update branch |
merge conflict between base and head |
@Hohol Looks like there's a new |
I've added a test for |
@elasticmachine test this please |
This PR adds unit tests for wire and xContent serialization of remaining IntervalsSourceProvider implementations. Closes #50150
Thanks again @Hohol for working on this, great to have these tests in place now. I merged to master and the 7.6 branch. |
…tic#50326) This PR adds unit tests for wire and xContent serialization of remaining IntervalsSourceProvider implementations. Closes elastic#50150
This PR adds unit tests for wire and xContent serialization of remaining
IntervalsSourceProvider
implementations.Closes #50150