Skip to content

org.elasticsearch.action.search.SearchResponseMergerTests.testMergeSearchHits Test failure #40553

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

Closed
benwtrent opened this issue Mar 27, 2019 · 1 comment
Labels
:Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI v7.2.0 v8.0.0-alpha1

Comments

@benwtrent
Copy link
Member

Fails reliably on master and 7.x (possibly other branches)

./gradlew :server:unitTest -Dtests.seed=6AD7B08D850920A6 -Dtests.class=org.elasticsearch.action.search.SearchResponseMergerTests -Dtests.method="testMergeSearchHits" -Dtests.security.manager=true -Dtests.locale=ar-SY -Dtests.timezone=SystemV/MST7 -Dcompiler.java=12 -Druntime.java=8

Failure:

FAILURE 0.67s | SearchResponseMergerTests.testMergeSearchHits <<< FAILURES!
   > Throwable #1: java.lang.AssertionError: expected null, but was:<[Lorg.apache.lucene.search.SortField;@6c4ebb78>
   >    at __randomizedtesting.SeedInfo.seed([6AD7B08D850920A6:3AC351382A6A6789]:0)
   >    at org.elasticsearch.action.search.SearchResponseMergerTests.testMergeSearchHits(SearchResponseMergerTests.java:520)
   >    at java.lang.Thread.run(Thread.java:748)
@benwtrent benwtrent added :Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI v8.0.0 v7.2.0 labels Mar 27, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

benwtrent added a commit to benwtrent/elasticsearch that referenced this issue Mar 27, 2019
benwtrent added a commit to benwtrent/elasticsearch that referenced this issue Mar 27, 2019
benwtrent added a commit that referenced this issue Mar 27, 2019
benwtrent added a commit that referenced this issue Mar 27, 2019
@jimczi jimczi closed this as completed in c03f2e6 Mar 28, 2019
jimczi added a commit that referenced this issue Mar 28, 2019
This commit fixes an edge case in tests where search hits are empty
after the merge but some shards returned hits. This can happen if
the total number of merged hits is less than the provided `from`.

Closes #40553
jimczi added a commit that referenced this issue Mar 28, 2019
This commit fixes an edge case in tests where search hits are empty
after the merge but some shards returned hits. This can happen if
the total number of merged hits is less than the provided `from`.

Closes #40553
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

No branches or pull requests

3 participants