Skip to content

Commit

Permalink
Test stability
Browse files Browse the repository at this point in the history
  • Loading branch information
marci4 committed Jan 1, 2025
1 parent 98695a4 commit c33a5e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/org/java_websocket/issues/Issue666Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.java_websocket.util.ThreadCheck;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;

public class Issue666Test {
Expand Down Expand Up @@ -141,6 +142,7 @@ public void onStart() {
};
server.start();
countServerDownLatch.await();
assertTrue(SocketUtil.waitForServerToStart(port), "Server Start Status");
Map<Long, Thread> mapBefore = ThreadCheck.getThreadMap();
client.connectBlocking();
Map<Long, Thread> mapAfter = ThreadCheck.getThreadMap();
Expand Down

0 comments on commit c33a5e8

Please sign in to comment.