Testsuite: org.apache.tomcat.websocket.server.TestSlowClient Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.252 sec ------------- Standard Output --------------- Received start, now sending data ------------- ---------------- --------------- ------------- Standard Error ----------------- 14-Jun-2024 14:33:57.697 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendingFromAppThread] 14-Jun-2024 14:33:58.799 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 14-Jun-2024 14:33:58.844 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Jun-2024 14:33:58.845 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 14-Jun-2024 14:33:59.122 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41887"] 14-Jun-2024 14:34:04.829 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:326) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:266) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:250) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:192) 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:1448) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1366) at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:1337) at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:171) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase$OutputBufferSendHandler.write(WsRemoteEndpointImplBase.java:934) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:518) at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlockInternal(WsRemoteEndpointImplBase.java:313) ... 7 more 14-Jun-2024 14:34:19.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41887"] 14-Jun-2024 14:34:19.583 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Jun-2024 14:34:19.595 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41887"] 14-Jun-2024 14:34:29.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41887"] ------------- ---------------- --------------- Testcase: testSendingFromAppThread took 32.126 sec