Skip to content

Commit ab0a04c

Browse files
jed326Jay Deng
authored and
Jay Deng
committed
Increase suite timeout for HighlighterSearchIT
Signed-off-by: Jay Deng <jayd0104@gmail.com>
1 parent 3125b94 commit ab0a04c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/src/internalClusterTest/java/org/opensearch/search/fetch/subphase/highlight/HighlighterSearchIT.java

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
package org.opensearch.search.fetch.subphase.highlight;
3333

3434
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
35+
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
3536
import com.carrotsearch.randomizedtesting.generators.RandomPicks;
3637

3738
import org.apache.lucene.analysis.Analyzer;
@@ -41,6 +42,7 @@
4142
import org.apache.lucene.search.join.ScoreMode;
4243
import org.apache.lucene.tests.analysis.MockAnalyzer;
4344
import org.apache.lucene.tests.analysis.MockTokenizer;
45+
import org.apache.lucene.tests.util.TimeUnits;
4446
import org.opensearch.action.index.IndexRequestBuilder;
4547
import org.opensearch.action.search.SearchRequestBuilder;
4648
import org.opensearch.action.search.SearchResponse;
@@ -127,6 +129,8 @@
127129
import static org.hamcrest.Matchers.not;
128130
import static org.hamcrest.Matchers.startsWith;
129131

132+
// Higher timeout to accommodate large number of tests in this class. See https://github.com/opensearch-project/OpenSearch/issues/12119
133+
@TimeoutSuite(millis = 35 * TimeUnits.MINUTE)
130134
public class HighlighterSearchIT extends ParameterizedStaticSettingsOpenSearchIntegTestCase {
131135

132136
// TODO as we move analyzers out of the core we need to move some of these into HighlighterWithAnalyzersTests

0 commit comments

Comments
 (0)