mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Remove double and triple blank lines
This commit is contained in:
@@ -57,7 +57,6 @@ public class TCPSocketReplicationPostConnectionTest {
|
||||
@Test
|
||||
public void testPostConnection() throws IOException, InterruptedException {
|
||||
|
||||
|
||||
map1 = TCPSocketReplication4WayMapTest.newTcpSocketShmIntString((byte) 1, 8076);
|
||||
map1.put(5, "EXAMPLE-2");
|
||||
Thread.sleep(1);
|
||||
@@ -74,7 +73,6 @@ public class TCPSocketReplicationPostConnectionTest {
|
||||
@Test
|
||||
public void testPostConnectionNoSleep() throws IOException, InterruptedException {
|
||||
|
||||
|
||||
map1 = TCPSocketReplication4WayMapTest.newTcpSocketShmIntString((byte) 1, 8076);
|
||||
map1.put(5, "EXAMPLE-2");
|
||||
map2 = TCPSocketReplication4WayMapTest.newTcpSocketShmIntString((byte) 2, 8077, new InetSocketAddress("localhost", 8076));
|
||||
@@ -102,14 +100,12 @@ public class TCPSocketReplicationPostConnectionTest {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Thread.sleep(1);
|
||||
map1.put(6, "EXAMPLE-1");
|
||||
|
||||
// recreate map2 with new unique file
|
||||
map2 = map2aBuilder.createPersistedTo(Builder.getPersistenceFile());
|
||||
|
||||
|
||||
// allow time for the recompilation to resolve
|
||||
waitTillEqual(5000);
|
||||
|
||||
@@ -119,7 +115,6 @@ public class TCPSocketReplicationPostConnectionTest {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@After
|
||||
public void tearDown() {
|
||||
|
||||
@@ -134,7 +129,6 @@ public class TCPSocketReplicationPostConnectionTest {
|
||||
System.gc();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* * waits until map1 and map2 show the same value
|
||||
*
|
||||
@@ -153,5 +147,3 @@ public class TCPSocketReplicationPostConnectionTest {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user