getsentry / getsentry/sentry

Flaky test: tests/sentry/conduit/test_tasks.py::StreamDemoDataTest::test_stream_demo_data_sends_all_phases

Open
#108,842 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/conduit/test_tasks.py::StreamDemoDataTest::test_stream_demo_data_sends_all_phases`
Sentry sha: 94d9d60db8e0e6f4937593247f1d6d178df1bcaa
Run: https://github.com/getsentry/sentry/actions/runs/22267329565

```
tests/sentry/conduit/test_tasks.py:274: in test_stream_demo_data_sends_all_phases
assert mock_sleep.call_count == NUM_DELTAS
E AssertionError: assert 5678 == 100
E + where 5678 = .call_count
```

Contributor guide

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.