Skip to content

Commit

Permalink
Increase suite timeout for HighlighterSearchIT (opensearch-project#12512
Browse files Browse the repository at this point in the history
)

Signed-off-by: Jay Deng <jayd0104@gmail.com>
Signed-off-by: Aman Khare <amkhar@amazon.com>
  • Loading branch information
jed326 authored and Aman Khare committed Mar 12, 2024
1 parent 3986b3f commit b2daf1d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
package org.opensearch.search.fetch.subphase.highlight;

import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
import com.carrotsearch.randomizedtesting.generators.RandomPicks;

import org.apache.lucene.analysis.Analyzer;
Expand All @@ -41,6 +42,7 @@
import org.apache.lucene.search.join.ScoreMode;
import org.apache.lucene.tests.analysis.MockAnalyzer;
import org.apache.lucene.tests.analysis.MockTokenizer;
import org.apache.lucene.tests.util.TimeUnits;
import org.opensearch.action.index.IndexRequestBuilder;
import org.opensearch.action.search.SearchRequestBuilder;
import org.opensearch.action.search.SearchResponse;
Expand Down Expand Up @@ -127,6 +129,8 @@
import static org.hamcrest.Matchers.not;
import static org.hamcrest.Matchers.startsWith;

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

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

0 comments on commit b2daf1d

Please sign in to comment.