File tree 2 files changed +2
-9
lines changed
server/src/test/java/org/elasticsearch/action/search
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -246,9 +246,6 @@ tests:
246
246
- class : org.elasticsearch.packaging.test.DockerTests
247
247
method : test151MachineDependentHeapWithSizeOverride
248
248
issue : https://github.com/elastic/elasticsearch/issues/123437
249
- - class : org.elasticsearch.action.search.SearchQueryThenFetchAsyncActionTests
250
- method : testBottomFieldSort
251
- issue : https://github.com/elastic/elasticsearch/issues/122911
252
249
- class : org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
253
250
method : test {yaml=reference/cat/nodes/line_361}
254
251
issue : https://github.com/elastic/elasticsearch/issues/124103
Original file line number Diff line number Diff line change @@ -219,12 +219,8 @@ protected void run() {
219
219
if (withScroll ) {
220
220
assertFalse (canReturnNullResponse .get ());
221
221
assertThat (numWithTopDocs .get (), equalTo (0 ));
222
- } else {
223
- if (withCollapse ) {
224
- assertThat (numWithTopDocs .get (), equalTo (0 ));
225
- } else {
226
- assertThat (numWithTopDocs .get (), greaterThanOrEqualTo (1 ));
227
- }
222
+ } else if (withCollapse ) {
223
+ assertThat (numWithTopDocs .get (), equalTo (0 ));
228
224
}
229
225
SearchPhaseController .ReducedQueryPhase phase = action .results .reduce ();
230
226
assertThat (phase .numReducePhases (), greaterThanOrEqualTo (1 ));
You can’t perform that action at this time.
0 commit comments