Flaky test: tests/sentry/services/eventstore/test_models.py::EventTest::test_snuba_data
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/services/eventstore/test_models.py::EventTest::test_snuba_data`
Sentry sha: 94d9d60db8e0e6f4937593247f1d6d178df1bcaa
Run: https://github.com/getsentry/sentry/actions/runs/22267327786
```
[1m[31mtests/sentry/services/eventstore/test_models.py[0m:253: in test_snuba_data
assert event_from_nodestore.timestamp == event_from_snuba.timestamp
[1m[31mE AssertionError: assert '2026-02-22T0....606000+00:00' == '2026-02-22T0....363000+00:00'[0m
[1m[31mE [0m
[1m[31mE - 2026-02-22T00:41:22.363000+00:00[0m
[1m[31mE ? ^ - ^[0m
[1m[31mE + 2026-02-22T00:41:21.606000+00:00[0m
[1m[31mE ? ^ ^^[0m
```
Contributor guide
Research direction
Start with tests/sentry/services/eventstore/test_models.py::EventTest::test_snuba_data and reproduce the failure using the test's path. Compare the nodestore and Snuba event timestamps around the assertion at line 253. Done means the test passes reliably without intermittent timestamp mismatches.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100