-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes three tests with the following structure: ``` 0. setup ratelimit: N requests/time window 1. do N requests and expect 200 OK 2. do N requests and expect 429 Too Many Requests 3. sleep for time window 4. do N requests and expect 200 OK ``` Such test passes only if steps 1 and 2 are complete within time window. If requests are slow (e.g. CI pipeline) then time window may pass before steps are complete, limit expires and expectaions fail on step 2 (`expected 429, got 200`). This change reduces N thus allowing lower request rate. Followup on #1671 Signed-off-by: Alexander Yastrebov <[email protected]>
- Loading branch information
1 parent
f2651e7
commit 727ad0b
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters