change defaults in stress test

This commit is contained in:
kimchy 2011-04-16 16:57:17 +03:00
parent a1796c3408
commit 4eddaec8ba
1 changed files with 3 additions and 3 deletions

View File

@ -40,16 +40,16 @@ public class ConcurrentIndexingVersioningTest {
public static void main(String[] args) throws Exception {
Settings settings = settingsBuilder()
.put("gateway", "none")
.put("gateway.type", "none")
.build();
Node node1 = nodeBuilder().settings(settings).node();
Node node2 = nodeBuilder().settings(settings).node();
final Node client = nodeBuilder().settings(settings).client(true).node();
final int NUMBER_OF_DOCS = 1000;
final int NUMBER_OF_DOCS = 10000;
final int NUMBER_OF_THREADS = 10;
final long NUMBER_OF_ITERATIONS = SizeValue.parseSizeValue("100k").singles();
final long NUMBER_OF_ITERATIONS = SizeValue.parseSizeValue("10k").singles();
final long DELETE_EVERY = 10;
final CountDownLatch latch = new CountDownLatch(NUMBER_OF_THREADS);