test(rate_limiter): use windows that cannot expire during the test

The bucket entry expires one window after the first request. With a 50
or 80 ms window, a slow CI run could lose it between two requests, so
inspect_bucket/3 returned {0, 5} (seen on #8021 with Elixir 1.17). The
reset test expires the bucket itself, so a long window costs nothing.
This commit is contained in:
Lain Soykaf 2026-10-27 16:10:14 +04:00
commit 985ad29724
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file