[TEST] increase suite timeout for OldIndexBackwardsCompatibilityTests

Test suite times out too often and it seems this is not because of actual
failures but becasue it is a long running test.
This commit is contained in:
Britta Weber 2015-03-03 15:42:51 +01:00
parent b669e37c0b
commit a064f57bc2
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@
package org.elasticsearch.bwcompat; package org.elasticsearch.bwcompat;
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
import org.apache.lucene.util.TimeUnits;
import org.elasticsearch.Version; import org.elasticsearch.Version;
import org.elasticsearch.action.get.GetResponse; import org.elasticsearch.action.get.GetResponse;
import org.elasticsearch.action.search.SearchRequestBuilder; import org.elasticsearch.action.search.SearchRequestBuilder;
@ -48,6 +50,7 @@ import java.util.*;
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
@TimeoutSuite(millis = 40 * TimeUnits.MINUTE)
public class OldIndexBackwardsCompatibilityTests extends StaticIndexBackwardCompatibilityTest { public class OldIndexBackwardsCompatibilityTests extends StaticIndexBackwardCompatibilityTest {
// TODO: test for proper exception on unsupported indexes (maybe via separate test?) // TODO: test for proper exception on unsupported indexes (maybe via separate test?)
// We have a 0.20.6.zip etc for this. // We have a 0.20.6.zip etc for this.