Testsuite: org.apache.tomcat.websocket.server.TestSlowClient Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.242 sec ------------- Standard Output --------------- Received start, now sending data ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Dec-2024 11:01:35.158 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendingFromAppThread] 11-Dec-2024 11:01:36.490 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Dec-2024 11:01:36.561 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Dec-2024 11:01:36.561 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.3-dev] 11-Dec-2024 11:01:36.870 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38795"] 11-Dec-2024 11:01:42.285 SEVERE [Thread-7] org.apache.tomcat.websocket.TesterFirehoseServer$Writer.run Error on non-container thread java.io.IOException: java.net.SocketTimeoutException: Write timeout at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlockInternal(WsRemoteEndpointImplBase.java:329) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:269) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:253) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195) at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:36) at org.apache.tomcat.websocket.TesterFirehoseServer$Writer.doRun(TesterFirehoseServer.java:166) at org.apache.tomcat.websocket.TesterFirehoseServer$Writer.run(TesterFirehoseServer.java:152) at java.base/java.lang.Thread.run(Thread.java:1570) Caused by: java.net.SocketTimeoutException: Write timeout at org.apache.tomcat.util.net.SocketWrapperBase.vectoredOperation(SocketWrapperBase.java:1447) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1365) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1336) at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:165) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$OutputBufferSendHandler.write(WsRemoteEndpointImplBase.java:938) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:521) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlockInternal(WsRemoteEndpointImplBase.java:316) ... 7 more 11-Dec-2024 11:01:57.117 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38795"] 11-Dec-2024 11:01:57.120 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Dec-2024 11:01:57.132 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38795"] 11-Dec-2024 11:02:07.154 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38795"] ------------- ---------------- --------------- Testcase: testSendingFromAppThread took 32.163 sec