Skip to content

Commit

Permalink
NO ()
Browse files Browse the repository at this point in the history
  • Loading branch information
marci4 committed Jan 1, 2025
1 parent c98972b commit 1e9ae95
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/test/java/org/java_websocket/issues/Issue256Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
import static org.junit.jupiter.api.Assertions.fail;

@ExtendWith(ThreadCheck.class)
public class Issue256Test extends ThreadCheck{
public class Issue256Test {

private static final int NUMBER_OF_TESTS = 10;
private static WebSocketServer ws;
Expand Down Expand Up @@ -78,8 +78,6 @@ public void onMessage(WebSocket conn, String message) {

@Override
public void onError(WebSocket conn, Exception ex) {

ex.printStackTrace();
fail("There should be no exception!");
}

Expand Down Expand Up @@ -141,14 +139,14 @@ public static Collection<Integer[]> data() {
return ret;
}

@ParameterizedTest()
@ParameterizedTest
@Timeout(5000)
@MethodSource("data")
public void runReconnectSocketClose() throws Exception {
runTestScenarioReconnect(false);
}

@ParameterizedTest()
@ParameterizedTest
@Timeout(5000)
@MethodSource("data")
public void runReconnectCloseBlocking() throws Exception {
Expand Down

0 comments on commit 1e9ae95

Please sign in to comment.