Skip to content

Commit

Permalink
Fix flaky QueryProfilePhaseTests.testCollapseQuerySearchResults test
Browse files Browse the repository at this point in the history
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
  • Loading branch information
ticheng-aws committed Jul 29, 2023
1 parent 7fd4d69 commit 289208e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public TestSearchContext(
this.indexShard = indexShard;
this.queryShardContext = queryShardContext;
this.searcher = searcher;
this.concurrentSegmentSearchEnabled = searcher != null && (searcher.getExecutor() != null);
this.scrollContext = scrollContext;
}

Expand Down

0 comments on commit 289208e

Please sign in to comment.