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

commit a851f66e18ed6bbb3a28a8974aed626bb77f5ee9
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 5304bee2ca..d4c7d3cb64 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