This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new c3511b1baf Intermittent failure locally. Increase wait time. c3511b1baf is described below commit c3511b1baf7defc57923fce7e12b5e6b392c68c5 Author: Mark Thomas <ma...@apache.org> AuthorDate: Tue Apr 11 18:05:19 2023 +0100 Intermittent failure locally. Increase wait time. --- .../websocket/server/TestWsRemoteEndpointImplServerDeadlock.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/org/apache/tomcat/websocket/server/TestWsRemoteEndpointImplServerDeadlock.java b/test/org/apache/tomcat/websocket/server/TestWsRemoteEndpointImplServerDeadlock.java index 269f112849..a3a0d10773 100644 --- a/test/org/apache/tomcat/websocket/server/TestWsRemoteEndpointImplServerDeadlock.java +++ b/test/org/apache/tomcat/websocket/server/TestWsRemoteEndpointImplServerDeadlock.java @@ -134,7 +134,9 @@ public class TestWsRemoteEndpointImplServerDeadlock extends WebSocketBaseTest { Object state = f.get(Bug66508Endpoint.serverSession); int count = 0; long start = System.nanoTime(); - while (!"CLOSED".equals(state.toString()) && count < 100) { + // Send times out after 20s so test should complete in less than that. Allow large margin as VMs can sometimes + // be slow when running tests. + while (!"CLOSED".equals(state.toString()) && count < 190) { count++; Thread.sleep(100); state = f.get(Bug66508Endpoint.serverSession); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org