You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/04/14 20:03:17 UTC
[tomcat] branch 7.0.x updated: Another attempt to fix an
intermittent CI failure
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 51a5e17 Another attempt to fix an intermittent CI failure
51a5e17 is described below
commit 51a5e177252b4e8cb6d70ef5fba40ab654006216
Author: Mark Thomas <ma...@apache.org>
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 54daa7a..d1faf7a 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
@@ -130,6 +130,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(WsWebSocketContainer.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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org