From c5b4a812ce51152404c5c64570412d3f6326494c Mon Sep 17 00:00:00 2001 From: Mikko Kortelainen Date: Thu, 18 Apr 2024 17:27:34 +0300 Subject: [PATCH] change ports so paralel tests wont collide (#148) --- src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java b/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java index aefdc592..de7af0ff 100644 --- a/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java +++ b/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java @@ -59,7 +59,7 @@ public class ServerShutdownTest { @Test public void testServerShutdownSingleThread() { - int port = 10601; + int port = 10603; ExecutorService executorService = Executors.newFixedThreadPool(1); ServerFactory serverFactory = new ServerFactory( executorService, @@ -83,7 +83,7 @@ public void testServerShutdownSingleThread() { @Test public void testServerShutdownMultiThread() { - int port = 10601; + int port = 10604; ExecutorService executorService = Executors.newFixedThreadPool(8); ServerFactory serverFactory = new ServerFactory( executorService,