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: 7ff1be947968f2335a896cb228819f332e9b2035
Run: https://github.com/getsentry/sentry/actions/runs/22292690818
```
[1m[31mtests/sentry/services/eventstore/test_models.py[0m:254: in test_snuba_data
assert event_from_nodestore.timestamp == event_from_snuba.timestamp
[1m[31mE AssertionError: assert '2026-02-23T04:18:44+00:00' == '2026-02-23T0....258000+00:00'[0m
[1m[31mE [0m
[1m[31mE - 2026-02-23T04:18:44.258000+00:00[0m
[1m[31mE ? -------[0m
[1m[31mE + 2026-02-23T04:18:44+00:00[0m
```
Contributor guide
Research direction
Start with tests/sentry/services/eventstore/test_models.py::EventTest::test_snuba_data and run the test to reproduce the timestamp mismatch between nodestore and Snuba. Trace how each event timestamp is produced and determine whether the flaky precision difference is handled consistently; done means the test passes reliably without masking other timestamp differences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100