This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new cb2f38a842 Attempt to reduce test failures on slower systems
cb2f38a842 is described below
commit cb2f38a842e92ee8ff9e256da49534c3fdae51a3
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Jun 23 22:57:05 2022 +0100
Attempt to reduce test failures on slower systems
---
test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java
b/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java
index 190a72ea88..9094e16f47 100644
--- a/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java
+++ b/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java
@@ -132,11 +132,11 @@ public class TestWebSocketFrameClientSSL extends
WebSocketBaseTest {
Assert.fail("No error reported by Endpoint when timeout was
expected");
}
- // Wait up to another 10 seconds for the connection to be closed -
+ // Wait again for the connection to be closed -
// should be a lot faster.
System.out.println("Waiting for connection to be closed");
count = 0;
- limit = (TesterFirehoseServer.SEND_TIME_OUT_MILLIS * 2) / 100;
+ limit = TesterFirehoseServer.WAIT_TIME_MILLIS / 100;
while (TesterFirehoseServer.Endpoint.getOpenConnectionCount() != 0 &&
count < limit) {
Thread.sleep(100);
count ++;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]