m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorMagdalena GrodziƄska <mag.grodzinska@gmail.com>2020-01-15 04:46:19 +0100
committerGitHub <noreply@github.com>2020-01-15 04:46:19 +0100
commit97f644e3a983c6a24d26cb04b57b96a42afaa089 (patch)
tree6875ba1b10c804d728925c9cb282b404cd3c20f6 /src/test/java
parent8678d8c922b439ff4a58e4b139c4085515a890f0 (diff)
parent0cb7ded87955286f950d2802fc6a0d1c9c26726a (diff)
Merge pull request #123 from m-chrzan/clean_udup
Add cleaning to UDUP
Diffstat (limited to 'src/test/java')
-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,