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 433d19b3d5 Running tests locally found threshold needed to be increased
433d19b3d5 is described below

commit 433d19b3d50985fedb2c060ee3cf9c82cf4cc468
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jan 8 20:13:13 2024 +0000

    Running tests locally found threshold needed to be increased
---
 .../apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/test/org/apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java 
b/test/org/apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java
index 926073af0f..764c1e4e9a 100644
--- a/test/org/apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java
+++ b/test/org/apache/tomcat/websocket/server/TestAsyncMessagesPerformance.java
@@ -151,7 +151,7 @@ public class TestAsyncMessagesPerformance extends 
TomcatBaseTest {
                 if (seqZeroTimingFailureCount > 1) {
                     // The 50ms pause after the short message may very rarely 
appear to be less than 40ms
                     fail = true;
-                } else if (seqOneTimingFailureCount > 5) {
+                } else if (seqOneTimingFailureCount > 10) {
                     // The two chunks of the 16k message may rarely be more 
than 0.5ms apart
                     fail = true;
                 } else if (seqTwoTimingFailureCount > 100) {


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to