getsentry / getsentry/sentry

Flaky test: tests/sentry/middleware/test_ratelimit_middleware.py::RatelimitMiddlewareTest__InControlMode::test_impersonation_enforces_rate_limits_when_disabled

Open
#109,043 1 comment 0 reactions 0 assignees View on GitHub
flaky-test Tests
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

```
tests/sentry/middleware/test_ratelimit_middleware.py:243: in test_impersonation_enforces_rate_limits_when_disabled
assert response is not None
E assert None is not None
```

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.