[TEST] Try to speed up REST tests by reducing max number of replicas and shards
This commit is contained in:
parent
76157b8b90
commit
29422c645b
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue