Use Jvm.pause instead of Thread.sleep and remove replication information from MapEvent.

This commit is contained in:
Peter Lawrey
2015-06-11 10:59:58 +01:00
parent 84e8191035
commit c20d5fcea6
-5
View File
@@ -7,13 +7,9 @@ import net.openhft.chronicle.map.ChronicleMapBuilder;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ExecutionException;
import static java.util.concurrent.TimeUnit.SECONDS;
/**
* Created by Rob Austin
@@ -50,7 +46,6 @@ public class TestReplication {
for (int i = 0; i < 10; i++) {
Thread.sleep(100);
System.out.println(map2.size());
}