Skip to content

Commit 1e9ae95

Browse files
committed
NO ()
1 parent c98972b commit 1e9ae95

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/test/java/org/java_websocket/issues/Issue256Test.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
import static org.junit.jupiter.api.Assertions.fail;
5050

5151
@ExtendWith(ThreadCheck.class)
52-
public class Issue256Test extends ThreadCheck{
52+
public class Issue256Test {
5353

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

7979
@Override
8080
public void onError(WebSocket conn, Exception ex) {
81-
82-
ex.printStackTrace();
8381
fail("There should be no exception!");
8482
}
8583

@@ -141,14 +139,14 @@ public static Collection<Integer[]> data() {
141139
return ret;
142140
}
143141

144-
@ParameterizedTest()
142+
@ParameterizedTest
145143
@Timeout(5000)
146144
@MethodSource("data")
147145
public void runReconnectSocketClose() throws Exception {
148146
runTestScenarioReconnect(false);
149147
}
150148

151-
@ParameterizedTest()
149+
@ParameterizedTest
152150
@Timeout(5000)
153151
@MethodSource("data")
154152
public void runReconnectCloseBlocking() throws Exception {

0 commit comments

Comments
 (0)