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

lihan pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 9f37ce0770 Fix typo
9f37ce0770 is described below

commit 9f37ce0770f3a65d07d1e88c55672337c2619393
Author: lihan <li...@apache.org>
AuthorDate: Fri Apr 28 10:57:48 2023 +0800

    Fix typo
---
 test/org/apache/catalina/filters/TestRateLimitFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/filters/TestRateLimitFilter.java 
b/test/org/apache/catalina/filters/TestRateLimitFilter.java
index 7e986e75d0..ca21f5e1f4 100644
--- a/test/org/apache/catalina/filters/TestRateLimitFilter.java
+++ b/test/org/apache/catalina/filters/TestRateLimitFilter.java
@@ -74,7 +74,7 @@ public class TestRateLimitFilter extends TomcatBaseTest {
         // Sleep for up to 10s for clients to complete
         int count = 0;
         while (count < 100 && (tc1.results[24] == 0 || tc2.results[49] == 0 || 
tc3.results[allowedRequests - 1] == 0 ||
-                tc3.results[allowedRequests] == 0 || 
tc3.results[allowedRequests - 1] == 0 ||
+                tc3.results[allowedRequests] == 0 || 
tc4.results[allowedRequests - 1] == 0 ||
                 tc4.results[allowedRequests] == 0)) {
             Thread.sleep(100);
             count++;


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

Reply via email to