Flaky test: tests/sentry/middleware/test_ratelimit_middleware.py::RatelimitMiddlewareTest__InControlMode::test_impersonation_enforces_rate_limits_when_disabled
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/middleware/test_ratelimit_middleware.py::RatelimitMiddlewareTest__InControlMode::test_impersonation_enforces_rate_limits_when_disabled`
Sentry sha: d9ad7639e47f7492cc115bef2a69b9f344529f4f
Run: https://github.com/getsentry/sentry/actions/runs/22299889218
```
[1m[31mtests/sentry/middleware/test_ratelimit_middleware.py[0m:243: in test_impersonation_enforces_rate_limits_when_disabled
assert response is not None
[1m[31mE assert None is not None[0m
```
Contributor guide
Research direction
Start with tests/sentry/middleware/test_ratelimit_middleware.py and the named test at line 243. Re-run the test and inspect the linked CI run to determine why response is None during impersonation in control mode. Done means the flaky failure is understood and the test passes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100