We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c20c80 commit 85de14fCopy full SHA for 85de14f
plugins/api/rate-limit/test/org/apache/cloudstack/ratelimit/ApiRateLimitTest.java
@@ -181,7 +181,7 @@ public void expiryOfCounterIsSupported() throws Exception {
181
assertTrue("The first request should be allowed", isUnderLimit(key));
182
183
// Allow the token to expire
184
- Thread.sleep(1001);
+ Thread.sleep(1020);
185
186
assertTrue("Another request after interval should be allowed as well", isUnderLimit(key));
187
}
0 commit comments