BGChronicleTest waiting on server start

This commit is contained in:
Peter Lawrey
2014-12-09 17:39:04 +00:00
parent cb9245361c
commit 41229091d4
+1 -1
View File
@@ -24,7 +24,7 @@ public class BGChronicleTest {
public static final int READ_RATIO = Integer.getInteger("readRatio", 2);
// public static final boolean BUSY_WAIT = Boolean.parseBoolean(System.getProperty("busyWait",
// "" + (CLIENTS < Runtime.getRuntime().availableProcessors())));
public static final int REPLICAS = Integer.getInteger("replicas", 1);
public static final int REPLICAS = Integer.getInteger("replicas", 2);
public static final int CLIENTS = Integer.getInteger("clients", Math.max(1, Runtime.getRuntime().availableProcessors() - REPLICAS));
public static final long KEYS = Long.getLong("keys", 1000_000L);
public static final long MESSAGES = Long.getLong("messages", 1000_000 + KEYS * 2);