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 19:58:21 UTC

[tomcat] branch 8.5.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 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 6a35175  Another attempt to fix an intermittent CI failure
6a35175 is described below

commit 6a351755de0b39ddaf936c8704e7c29929493c05
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 462bc23..21eeea3 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
@@ -131,6 +131,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org