This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 995012e Another attempt to fix an intermittent CI failure
995012e is described below
commit 995012ef07dbe779e6fdb7ccbf1fcc22d76e0c97
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Apr 14 20:56:34 2020 +0100
Another attempt to fix an intermittent CI failure
---
test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
index 4449ac1..92bda85 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
@@ -128,6 +128,10 @@ public class TestWebSocketFrameClient extends
WebSocketBaseTest {
if (clientEndpointConfig == null) {
clientEndpointConfig =
ClientEndpointConfig.Builder.create().build();
}
+ // Increase default timeout from 5s to 10s to try and reduce errors on
+ // CI systems.
+
clientEndpointConfig.getUserProperties().put(Constants.IO_TIMEOUT_MS_PROPERTY,
"10000");
+
Session wsSession =
wsContainer.connectToServer(TesterProgrammaticEndpoint.class,
clientEndpointConfig, new URI("ws://localhost:" + getPort() +
path));
CountDownLatch latch = new CountDownLatch(1);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]