This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 119aebf5be Raise the threshold slightly to reduce false failures
119aebf5be is described below

commit 119aebf5bef57b32003e630fcfdb1b859d95bde4
Author: Mark Thomas <[email protected]>
AuthorDate: Sun Nov 8 12:29:05 2026 +0000

    Raise the threshold slightly to reduce false failures
---
 .../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 5d594d521d..0fe6ea4370 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 > 10) {
+                } else if (seqOneTimingFailureCount > 15) {
                     // 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to