Testsuite: org.apache.tomcat.websocket.server.TestSlowClient Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.106 sec ------------- Standard Output --------------- Received start, now sending data ------------- ---------------- --------------- ------------- Standard Error ----------------- 08-Jul-2024 15:21:29.515 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendingFromAppThread] 08-Jul-2024 15:21:30.515 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 08-Jul-2024 15:21:30.606 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Jul-2024 15:21:30.614 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.92-dev] 08-Jul-2024 15:21:30.844 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37651"] 08-Jul-2024 15:21:36.387 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:325) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:265) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:249) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:191) 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:833) Caused by: java.net.SocketTimeoutException: Write timeout at org.apache.tomcat.util.net.SocketWrapperBase.vectoredOperation(SocketWrapperBase.java:1504) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1422) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1393) at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:171) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$OutputBufferSendHandler.write(WsRemoteEndpointImplBase.java:933) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:517) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlockInternal(WsRemoteEndpointImplBase.java:312) ... 7 more 08-Jul-2024 15:21:51.108 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37651"] 08-Jul-2024 15:21:51.110 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Jul-2024 15:21:51.120 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37651"] 08-Jul-2024 15:22:01.143 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37651"] ------------- ---------------- --------------- Testcase: testSendingFromAppThread took 32.008 sec