fix(test) : disable rate limiter in test env — fixes 214 false auth failures
The login rate limiter (5 req/min) was triggering 429 on most tests since each test creates its own authenticated client via POST /api/session/profile. Set limit to 10000 in test env so the full suite can run unthrottled. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8,3 +8,15 @@ framework:
|
||||
policy: sliding_window
|
||||
limit: 5
|
||||
interval: '1 minute'
|
||||
|
||||
when@test:
|
||||
framework:
|
||||
rate_limiter:
|
||||
mcp_auth:
|
||||
policy: sliding_window
|
||||
limit: 10000
|
||||
interval: '1 minute'
|
||||
login:
|
||||
policy: sliding_window
|
||||
limit: 10000
|
||||
interval: '1 minute'
|
||||
|
||||
Reference in New Issue
Block a user