Skip to content

Commit 252cfe1

Browse files
committed
ESQL: Raise timeout on test suite (elastic#128525)
It uses `semantic_text` which can be quite slow. Closes elastic#128513 Closes elastic#128511
1 parent e1c93cc commit 252cfe1

File tree

1 file changed

+3
-0
lines changed
  • x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node

1 file changed

+3
-0
lines changed

x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/PushQueriesIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99

1010
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
1111
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
12+
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
1213

14+
import org.apache.lucene.tests.util.TimeUnits;
1315
import org.elasticsearch.client.Request;
1416
import org.elasticsearch.client.Response;
1517
import org.elasticsearch.client.ResponseException;
@@ -49,6 +51,7 @@
4951
* Tests for pushing queries to lucene.
5052
*/
5153
@ThreadLeakFilters(filters = TestClustersThreadFilter.class)
54+
@TimeoutSuite(millis = 10 * TimeUnits.MINUTE) // semantic_text can take a long, long time to start in CI
5255
public class PushQueriesIT extends ESRestTestCase {
5356
@ClassRule
5457
public static ElasticsearchCluster cluster = Clusters.testCluster();

0 commit comments

Comments
 (0)