Skip to content

Commit

Permalink
tests: skip window rate limiter tests in CI
Browse files Browse the repository at this point in the history
They rely on timing and end up being too flaky in practice.
  • Loading branch information
Bogdanp committed Oct 18, 2020
1 parent 08a68af commit 0ccf4aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_window_rate_limiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

from dramatiq.rate_limits import WindowRateLimiter

from .common import skip_in_ci


@skip_in_ci
def test_window_rate_limiter_limits_per_window(rate_limiter_backend):
# Given that I have a bucket rate limiter and a call database
limiter = WindowRateLimiter(rate_limiter_backend, "window-test", limit=2, window=5)
Expand Down

0 comments on commit 0ccf4aa

Please sign in to comment.