File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/test/java/org/java_websocket/issues Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 4949import 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 {
You can’t perform that action at this time.
0 commit comments