Failed
com.ning.http.client.ws.grizzly.GrizzlyCloseCodeReasonMsgTest.onCloseWithCodeServerClose on GrizzlyCloseCodeReasonMsgTest@50de0926{STARTED}[9.4.17.v20190418]
Error Message
expected [1001-Idle Timeout] but found [1001-java.util.concurrent.TimeoutException: Idle timeout expired: 10000/10000 ms]
Stacktrace
java.lang.AssertionError: expected [1001-Idle Timeout] but found [1001-java.util.concurrent.TimeoutException: Idle timeout expired: 10000/10000 ms] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:186) at com.ning.http.client.ws.CloseCodeReasonMessageTest.onCloseWithCodeServerClose(CloseCodeReasonMessageTest.java:56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46) at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Standard Output
2021-03-05 08:04:26,586 [grizzly-ahc-kernel(1) SelectorRunner] DEBUG com.ning.http.client.providers.grizzly.AsyncHttpClientFilter - REQUEST: HttpRequestPacket ( method=GET url=/ query=null protocol=HTTP/1.1 content-length=-1 headers=[ Connection=Upgrade Host=127.0.0.1:34441 Sec-WebSocket-Key=AuDU1HbECkSgGY+9ych5nQ== Sec-WebSocket-Version=13 Origin=wss://127.0.0.1:34441 User-Agent=AHC/1.0 Accept=*/*] ) 2021-03-05 08:04:26,638 [AsyncHttpClient-Callback] DEBUG com.ning.http.client.providers.grizzly.AhcEventFilter - RESPONSE: HttpResponsePacket ( status=101 reason=Switching Protocols protocol=HTTP/1.1 content-length=-1 committed=false headers=[ date=Fri, 05 Mar 2021 08:04:26 GMT connection=Upgrade sec-websocket-accept=BPZnHzedVGynB0ZVSQ7Ymkcnzfw= server=Jetty(9.4.17.v20190418) upgrade=WebSocket] )