[Tests] Reduce the number of threads used by the BackgroundIndexer by default

It sometimes overloads the nodes.
This commit is contained in:
Boaz Leskes 2014-04-02 11:02:38 +02:00
parent d57ef1e0d6
commit 285fa16f62
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class BackgroundIndexer implements AutoCloseable {
final CountDownLatch startLatch = new CountDownLatch(1);
public BackgroundIndexer(String index, String type, Client client) {
this(index, type, client, RandomizedTest.scaledRandomIntBetween(3, 10));
this(index, type, client, RandomizedTest.scaledRandomIntBetween(2, 5));
}
public BackgroundIndexer(String index, String type, Client client, int writerCount) {