Flaky test: tests/sentry/conduit/test_tasks.py::StreamDemoDataTest::test_stream_demo_data_sends_all_phases
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/conduit/test_tasks.py::StreamDemoDataTest::test_stream_demo_data_sends_all_phases`
Sentry sha: 94d9d60db8e0e6f4937593247f1d6d178df1bcaa
Run: https://github.com/getsentry/sentry/actions/runs/22267329565
```
[1m[31mtests/sentry/conduit/test_tasks.py[0m:274: in test_stream_demo_data_sends_all_phases
assert mock_sleep.call_count == NUM_DELTAS
[1m[31mE AssertionError: assert 5678 == 100[0m
[1m[31mE + where 5678 = .call_count[0m
```
Contributor guide
Research direction
Start with tests/sentry/conduit/test_tasks.py::StreamDemoDataTest::test_stream_demo_data_sends_all_phases and inspect the failing assertion at line 274. Run the test and compare the expected NUM_DELTAS sleep calls with the observed count of 5678. Done means the test reliably reflects the intended phase streaming behavior without this failure.
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
- Mostly clear
- Newbie friendliness
- 45/100