2727
2828public class TextMessageTest extends AbstractBasicWebSocketTest {
2929
30- @ Test (groups = "standalone" , timeOut = 60000 )
30+ @ Test (timeOut = 60000 )
3131 public void onOpen () throws Exception {
3232 try (AsyncHttpClient c = asyncHttpClient ()) {
3333 final CountDownLatch latch = new CountDownLatch (1 );
@@ -57,7 +57,7 @@ public void onError(Throwable t) {
5757 }
5858 }
5959
60- @ Test (groups = "standalone" , timeOut = 60000 )
60+ @ Test (timeOut = 60000 )
6161 public void onEmptyListenerTest () throws Exception {
6262 try (AsyncHttpClient c = asyncHttpClient ()) {
6363 WebSocket websocket = null ;
@@ -70,7 +70,7 @@ public void onEmptyListenerTest() throws Exception {
7070 }
7171 }
7272
73- @ Test (groups = "standalone" , timeOut = 60000 , expectedExceptions = UnknownHostException .class )
73+ @ Test (timeOut = 60000 , expectedExceptions = UnknownHostException .class )
7474 public void onFailureTest () throws Throwable {
7575 try (AsyncHttpClient c = asyncHttpClient ()) {
7676 c .prepareGet ("ws://abcdefg" ).execute (new WebSocketUpgradeHandler .Builder ().build ()).get ();
@@ -79,7 +79,7 @@ public void onFailureTest() throws Throwable {
7979 }
8080 }
8181
82- @ Test (groups = "standalone" , timeOut = 60000 )
82+ @ Test (timeOut = 60000 )
8383 public void onTimeoutCloseTest () throws Exception {
8484 try (AsyncHttpClient c = asyncHttpClient ()) {
8585 final CountDownLatch latch = new CountDownLatch (1 );
@@ -109,7 +109,7 @@ public void onError(Throwable t) {
109109 }
110110 }
111111
112- @ Test (groups = "standalone" , timeOut = 60000 )
112+ @ Test (timeOut = 60000 )
113113 public void onClose () throws Exception {
114114 try (AsyncHttpClient c = asyncHttpClient ()) {
115115 final CountDownLatch latch = new CountDownLatch (1 );
@@ -141,7 +141,7 @@ public void onError(Throwable t) {
141141 }
142142 }
143143
144- @ Test (groups = "standalone" , timeOut = 60000 )
144+ @ Test (timeOut = 60000 )
145145 public void echoText () throws Exception {
146146 try (AsyncHttpClient c = asyncHttpClient ()) {
147147 final CountDownLatch latch = new CountDownLatch (1 );
@@ -178,7 +178,7 @@ public void onError(Throwable t) {
178178 }
179179 }
180180
181- @ Test (groups = "standalone" , timeOut = 60000 )
181+ @ Test (timeOut = 60000 )
182182 public void echoDoubleListenerText () throws Exception {
183183 try (AsyncHttpClient c = asyncHttpClient ()) {
184184 final CountDownLatch latch = new CountDownLatch (2 );
@@ -237,7 +237,7 @@ public void onError(Throwable t) {
237237 }
238238 }
239239
240- @ Test ( groups = "standalone" )
240+ @ Test
241241 public void echoTwoMessagesTest () throws Exception {
242242 try (AsyncHttpClient c = asyncHttpClient ()) {
243243 final CountDownLatch latch = new CountDownLatch (2 );
@@ -274,6 +274,7 @@ public void onError(Throwable t) {
274274 }
275275 }
276276
277+ @ Test
277278 public void echoFragments () throws Exception {
278279 try (AsyncHttpClient c = asyncHttpClient ()) {
279280 final CountDownLatch latch = new CountDownLatch (1 );
@@ -304,14 +305,14 @@ public void onError(Throwable t) {
304305 }).build ()).get ();
305306
306307 websocket .sendTextFrame ("ECHO" , false , 0 );
307- websocket .sendTextFrame ("ECHO" , true , 0 );
308+ websocket .sendContinuationFrame ("ECHO" , true , 0 );
308309
309310 latch .await ();
310311 assertEquals (text .get (), "ECHOECHO" );
311312 }
312313 }
313314
314- @ Test (groups = "standalone" , timeOut = 60000 )
315+ @ Test (timeOut = 60000 )
315316 public void echoTextAndThenClose () throws Throwable {
316317 try (AsyncHttpClient c = asyncHttpClient ()) {
317318 final CountDownLatch textLatch = new CountDownLatch (1 );
0 commit comments