JooKS-me commented on a change in pull request #2445:
URL: https://github.com/apache/incubator-shenyu/pull/2445#discussion_r755680703



##########
File path: 
shenyu-integrated-test/shenyu-integrated-test-http/src/test/java/org/apache/shenyu/integrated/test/http/combination/RateLimiterPluginTest.java
##########
@@ -67,7 +67,7 @@ public void testSlidingWindow() throws IOException, 
ExecutionException, Interrup
         AdminResponse<Object> dto = rejectedRespFuture.get();
         assertEquals("You have been restricted, please try again later!", 
dto.getMessage());
 
-        Thread.sleep(1000);
+        Thread.sleep(5000);

Review comment:
       @yu199195 Because replenishRate was set 0.2, we need to wait 5 seconds 
to be allowed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to