Fix for benchmark test timeout

Lower number of random requests generated for each test so as not to
timeout on heavy tests.

Addresses #6094
This commit is contained in:
Andrew Selden 2014-05-12 12:13:12 -07:00
parent 154688bba1
commit fdbefa0cd1
2 changed files with 2 additions and 3 deletions

View File

@ -79,7 +79,6 @@ public class BenchmarkIntegrationTest extends ElasticsearchIntegrationTest {
}
@Test
@AwaitsFix(bugUrl = "https://github.com/elasticsearch/elasticsearch/issues/6094")
public void testSubmitBenchmark() throws Exception {
final BenchmarkRequest request =

View File

@ -42,8 +42,8 @@ public class BenchmarkTestUtil {
public static final int MAX_MULTIPLIER = 500;
public static final int MIN_SMALL_INTERVAL = 1;
public static final int MAX_SMALL_INTERVAL = 3;
public static final int MIN_LARGE_INTERVAL = 11;
public static final int MAX_LARGE_INTERVAL = 19;
public static final int MIN_LARGE_INTERVAL = 5;
public static final int MAX_LARGE_INTERVAL = 7;
public static final String BENCHMARK_NAME = "test_benchmark";
public static final String COMPETITOR_PREFIX = "competitor_";