m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-15 03:58:10 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-15 03:58:10 +0100
commit710a97612ac050ad79a20f39c5ea9a53eb7263ab (patch)
tree07617ae1084515bacd2d531d03f07f866602bc20
parentc077d789e25a88d8be8f8082c321d7aadb83cd96 (diff)
Fix tests
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/agent/UDUPTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/agent/UDUPTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/agent/UDUPTest.java
index 4f32d89..eae7af9 100644
--- a/src/test/java/pl/edu/mimuw/cloudatlas/agent/UDUPTest.java
+++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/UDUPTest.java
@@ -34,7 +34,7 @@ public class UDUPTest {
try {
System.out.println("Starting udp1");
- server1 = new UDUPServer(InetAddress.getByName("127.0.0.2"), 5996, 1000);
+ server1 = new UDUPServer(InetAddress.getByName("127.0.0.2"), 5996, 1000, 60 * 1000);
udp1 = new UDUP(
5997,
timeout,
@@ -43,7 +43,7 @@ public class UDUPTest {
System.out.println("Starting udp2");
- server2 = new UDUPServer(InetAddress.getByName("127.0.0.3"), 5996, 1000);
+ server2 = new UDUPServer(InetAddress.getByName("127.0.0.3"), 5996, 1000, 60 * 1000);
udp2 = new UDUP(
5997,
timeout,
@@ -106,7 +106,7 @@ public class UDUPTest {
try {
System.out.println("Starting udp1");
- server1 = new UDUPServer(InetAddress.getByName("127.0.0.2"), 5991, 1000);
+ server1 = new UDUPServer(InetAddress.getByName("127.0.0.2"), 5991, 1000, 60 * 1000);
udp1 = new UDUP(
5997,
timeout,
@@ -115,7 +115,7 @@ public class UDUPTest {
System.out.println("Starting udp2");
- server2 = new UDUPServer(InetAddress.getByName("127.0.0.3"), 5991, 1000);
+ server2 = new UDUPServer(InetAddress.getByName("127.0.0.3"), 5991, 1000, 60 * 1000);
udp2 = new UDUP(
5997,
timeout,
@@ -181,7 +181,7 @@ public class UDUPTest {
try {
System.out.println("Starting udp1");
- server1 = new UDUPServer(InetAddress.getByName("127.0.0.2"), 5997, 1000);
+ server1 = new UDUPServer(InetAddress.getByName("127.0.0.2"), 5997, 1000, 60 * 1000);
udp1 = new UDUP(
5997,
timeout,
@@ -190,7 +190,7 @@ public class UDUPTest {
System.out.println("Starting udp2");
- server2 = new UDUPServer(InetAddress.getByName("127.0.0.3"), 5997, 1000);
+ server2 = new UDUPServer(InetAddress.getByName("127.0.0.3"), 5997, 1000, 60 * 1000);
udp2 = new UDUP(
5997,
timeout,