From 41229091d4e5957ee2f132d44073f4c666687af4 Mon Sep 17 00:00:00 2001 From: Peter Lawrey Date: Tue, 9 Dec 2014 17:39:04 +0000 Subject: [PATCH] BGChronicleTest waiting on server start --- src/test/java/eg/BGChronicleTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/eg/BGChronicleTest.java b/src/test/java/eg/BGChronicleTest.java index 1b65540ef..b83d73eef 100644 --- a/src/test/java/eg/BGChronicleTest.java +++ b/src/test/java/eg/BGChronicleTest.java @@ -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);