Improve closing of resources on windows system.

This commit is contained in:
Peter Lawrey
2014-11-13 00:09:11 +00:00
parent 5839bd692a
commit fa4ecf828d
7 changed files with 25 additions and 468 deletions
+4 -4
View File
@@ -44,10 +44,10 @@ public class TCPSocketReplication3VoidValueTest {
@Before
public void setup() throws IOException {
map1 = newMapVoid((byte) 1, 8086, new InetSocketAddress("localhost", 8087),
new InetSocketAddress("localhost", 8089));
map2 = newMapVoid((byte) 2, 8087, new InetSocketAddress("localhost", 8089));
map3 = newMapVoid((byte) 3, 8089);
map1 = newMapVoid((byte) 1, 8036, new InetSocketAddress("localhost", 8037),
new InetSocketAddress("localhost", 8039));
map2 = newMapVoid((byte) 2, 8037, new InetSocketAddress("localhost", 8039));
map3 = newMapVoid((byte) 3, 8039);
}
@After