[TEST] Try to speed up REST tests by reducing max number of replicas and shards

This commit is contained in:
Simon Willnauer 2014-11-28 21:16:38 +01:00
parent 76157b8b90
commit 29422c645b

View File

@ -189,6 +189,16 @@ public class ElasticsearchRestTests extends ElasticsearchIntegrationTest {
}
}
@Override
protected int maximumNumberOfShards() {
return 3; // never go crazy in the REST tests
}
@Override
protected int maximumNumberOfReplicas() {
return 1; // never go crazy in the REST tests
}
/**
* Used to obtain settings for the REST client that is used to send REST requests.
*/