Skip to content

Commit

Permalink
change ports so paralel tests wont collide (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
kortemik authored Apr 18, 2024
1 parent fb09aba commit c5b4a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit c5b4a81

Please sign in to comment.