Flaky test: tests/sentry/monitors/consumers/test_monitor_consumer.py::MonitorConsumerTest::test_rate_limit
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/monitors/consumers/test_monitor_consumer.py::MonitorConsumerTest::test_rate_limit`
Sentry sha: d9ad7639e47f7492cc115bef2a69b9f344529f4f
Run: https://github.com/getsentry/sentry/actions/runs/22300371327
```
[1m[31mtests/sentry/monitors/consumers/test_monitor_consumer.py[0m:747: in test_rate_limit
self.send_checkin(
[1m[31mtests/sentry/monitors/consumers/test_monitor_consumer.py[0m:111: in send_checkin
with self.check_processing_errors(wrapper, expected_error, expected_monitor_slug):
[1m[31m/opt/hostedtoolcache/Python/3.13.1/x64/lib/python3.13/contextlib.py[0m:148: in __exit__
next(self.gen)
[1m[31mtests/sentry/monitors/consumers/test_monitor_consumer.py[0m:144: in check_processing_errors
assert len(args_list) == 1
[1m[31mE assert 0 == 1[0m
[1m[31mE + where 0 = len([])[0m
```
Contributor guide
Research direction
Start with tests/sentry/monitors/consumers/test_monitor_consumer.py, especially test_rate_limit and the check_processing_errors path shown in the traceback. Reproduce the failure using the linked GitHub Actions run or the stated Sentry SHA, then identify why the expected processing error is absent. Done means the test is deterministic and passes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100