increased slightly the wait time to minimize tests flakiness

This commit is contained in:
Gani Georgiev 2025-08-31 20:31:45 +03:00
parent 45af9e201c
commit 41cc4fd36b
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func TestDefaultRateLimitMiddleware(t *testing.T) {
{"/rate/guest", 0, false, 429}, {"/rate/guest", 0, false, 429},
// "guest" rule with regular user (should fallback to the /rate/ rule) // "guest" rule with regular user (should fallback to the /rate/ rule)
{"/rate/guest", 1, true, 200}, {"/rate/guest", 1.1, true, 200},
{"/rate/guest", 0, true, 200}, {"/rate/guest", 0, true, 200},
{"/rate/guest", 0, true, 429}, {"/rate/guest", 0, true, 429},
{"/rate/guest", 0, true, 429}, {"/rate/guest", 0, true, 429},