Increase Netty 3 REST test suite timeout

This commit increases the Netty 3 REST test suite timeout to thirty
minutes. This is to address these tests running slowly after increasing
the number of nodes in the tests to two. This has surfaced that the
tests are heavily impacted by excessive fsyncs from most tests using the
default number of shards of five.
This commit is contained in:
Jason Tedor 2016-08-03 21:30:17 -04:00
parent bcc5c7c07a
commit 7d750d2811
1 changed files with 5 additions and 1 deletions

View File

@ -21,13 +21,16 @@ package org.elasticsearch.http.netty3;
import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
import org.apache.lucene.util.TimeUnits;
import org.elasticsearch.test.rest.yaml.ClientYamlTestCandidate;
import org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase;
import org.elasticsearch.test.rest.yaml.parser.ClientYamlTestParseException;
import java.io.IOException;
// TODO: remove timeout after address slow test issue
@TimeoutSuite(millis = 30 * TimeUnits.MINUTE)
public class Netty3ClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
public Netty3ClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
@ -38,4 +41,5 @@ public class Netty3ClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
public static Iterable<Object[]> parameters() throws IOException, ClientYamlTestParseException {
return ESClientYamlSuiteTestCase.createParameters(0, 1);
}
}