Commit 3ebfe78
committed
fix: restore rate_limit config after rate_limiter tests
Added on_exit callback to rate_limiter_test.exs to restore the original
rate_limit configuration after each test. This prevents test configuration
from bleeding into other tests, which was causing 15 test failures due to
the rate limit being set to 2 instead of the test_helper value of 10,000.
All 127 tests now pass.1 parent f5dcb24 commit 3ebfe78
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
9 | 23 | | |
10 | 24 | | |
11 | 25 | | |
| |||
0 commit comments