Skip to content
Open
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
dd0fc2b
need to fix one test case shouldGraduallyIncreaseLimitWhenHealthy fai…
skamble2 May 31, 2025
ed01b7b
Added Class Diagram and Flow Diagrams for Adaptive, Fixed Window and …
skamble2 Jun 1, 2025
331beb9
Updated README.md. All test case passed. Updated with Google Java Gui…
skamble2 Jun 1, 2025
1f3ad40
Updated parent pom #2973
skamble2 Jun 1, 2025
3526c05
Updated parent pom #2973
skamble2 Jun 1, 2025
26cb1b2
fixed shouldResetCounterAfterWindow() test #2973
skamble2 Jun 1, 2025
8afefee
formatting fixed #2973
skamble2 Jun 1, 2025
fe253e4
added test coverage for app.java and fixed random to be thread safe …
skamble2 Jun 1, 2025
3a9de27
added test coverage for app.java and fixed random to be thread safe …
skamble2 Jun 1, 2025
5120195
added test coverage for app.java and fixed random to be thread safe …
skamble2 Jun 1, 2025
0889442
added test coverage for app.java and fixed random to be thread safe …
skamble2 Jun 1, 2025
4e886f8
added test coverage for app.java and fixed random to be thread safe …
skamble2 Jun 1, 2025
54d7396
added test coverage for app.java and fixed random to be thread safe …
skamble2 Jun 1, 2025
b6002a5
added test coverage for app.java and fixed random to be thread safe …
skamble2 Jun 1, 2025
dfe6753
fixed random to be thread safe #2973
skamble2 Jun 1, 2025
28e8b4a
fixed random to be thread safe #2973
skamble2 Jun 1, 2025
7fb2cc5
fixed random to be thread safe #2973
skamble2 Jun 12, 2025
9312225
fixed spacing in pom.xml #2973
skamble2 Jun 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
formatting fixed #2973
  • Loading branch information
skamble2 committed Jun 1, 2025
commit 8afefee7031afe726112af5d1626fb0a6fac0bc2
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ protected RateLimiter createRateLimiter(int limit, long windowMillis) {

@Test
void shouldResetCounterAfterWindow() throws Exception {
FixedWindowRateLimiter limiter = new FixedWindowRateLimiter(1, 1); // 1 request per 1 second window
FixedWindowRateLimiter limiter =
new FixedWindowRateLimiter(1, 1); // 1 request per 1 second window

// First request should pass
limiter.check("test", "op");
Expand Down
Loading