Increase timeout for yml tests (#48237)

Some of these are larger than what can complete in the regular timeout.

Closes #48212
This commit is contained in:
Alpar Torok 2019-10-18 21:13:45 +03:00 committed by Mark Vieira
parent 0e24e6fdd1
commit cc26e30281
No known key found for this signature in database
GPG Key ID: CA947EF7E6D4B105
1 changed files with 5 additions and 0 deletions

View File

@ -20,7 +20,9 @@
package org.elasticsearch.test.rest.yaml; package org.elasticsearch.test.rest.yaml;
import com.carrotsearch.randomizedtesting.RandomizedTest; import com.carrotsearch.randomizedtesting.RandomizedTest;
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
import org.apache.http.HttpHost; import org.apache.http.HttpHost;
import org.apache.lucene.util.TimeUnits;
import org.elasticsearch.Version; import org.elasticsearch.Version;
import org.elasticsearch.client.Node; import org.elasticsearch.client.Node;
import org.elasticsearch.client.Request; import org.elasticsearch.client.Request;
@ -60,7 +62,10 @@ import java.util.Set;
/** /**
* Runs a suite of yaml tests shared with all the official Elasticsearch * Runs a suite of yaml tests shared with all the official Elasticsearch
* clients against against an elasticsearch cluster. * clients against against an elasticsearch cluster.
*
* The suite timeout is extended to account for projects with a large number of tests.
*/ */
@TimeoutSuite(millis = 30 * TimeUnits.MINUTE)
public abstract class ESClientYamlSuiteTestCase extends ESRestTestCase { public abstract class ESClientYamlSuiteTestCase extends ESRestTestCase {
/** /**