File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/org/java_websocket/issues Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2525
2626package org .java_websocket .issues ;
2727
28- import static org .junit .Assert .assertArrayEquals ;
29-
3028import java .net .InetSocketAddress ;
3129import java .net .URI ;
3230import java .nio .ByteBuffer ;
3937import org .java_websocket .handshake .ServerHandshake ;
4038import org .java_websocket .server .WebSocketServer ;
4139import org .java_websocket .util .SocketUtil ;
40+ import static org .junit .Assert .assertArrayEquals ;
4241import org .junit .Test ;
4342
4443public class Issue941Test {
@@ -47,7 +46,7 @@ public class Issue941Test{
4746private CountDownLatch pongLatch = new CountDownLatch (1 );
4847private byte [] pingBuffer , receivedPingBuffer , pongBuffer ;
4948
50- @ Test
49+ @ Test ( timeout = 10000 )
5150public void testIssue () throws Exception {
5251int port = SocketUtil .getAvailablePort ();
5352WebSocketClient client = new WebSocketClient (new URI ("ws://localhost:" + port )){
You can’t perform that action at this time.
0 commit comments