Skip to content

Commit 7b1d50a

Browse files
alpar-tmark-vieira
authored andcommitted
Increase timeout for yml tests (elastic#48237)
Some of these are larger than what can complete in the regular timeout. Closes elastic#48212
1 parent 232b728 commit 7b1d50a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/framework/src/main/java/org/elasticsearch/test/rest/yaml/ESClientYamlSuiteTestCase.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
package org.elasticsearch.test.rest.yaml;
2121

2222
import com.carrotsearch.randomizedtesting.RandomizedTest;
23+
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
2324
import org.apache.http.HttpHost;
25+
import org.apache.lucene.util.TimeUnits;
2426
import org.elasticsearch.Version;
2527
import org.elasticsearch.client.Node;
2628
import org.elasticsearch.client.Request;
@@ -60,7 +62,10 @@
6062
/**
6163
* Runs a suite of yaml tests shared with all the official Elasticsearch
6264
* clients against against an elasticsearch cluster.
65+
*
66+
* The suite timeout is extended to account for projects with a large number of tests.
6367
*/
68+
@TimeoutSuite(millis = 30 * TimeUnits.MINUTE)
6469
public abstract class ESClientYamlSuiteTestCase extends ESRestTestCase {
6570

6671
/**

0 commit comments

Comments
 (0)