getsentry / getsentry/sentry

Flaky test: tests/sentry/services/eventstore/test_models.py::EventNodeStoreTest::test_datetime_uses_timestamp_ms_from_snuba

Open
#108,969 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/services/eventstore/test_models.py::EventNodeStoreTest::test_datetime_uses_timestamp_ms_from_snuba`
Sentry sha: 94eda9b7a769c0e3366416f4aaa3606d9428cb1d
Run: https://github.com/getsentry/sentry/actions/runs/22291159816

```
tests/sentry/services/eventstore/test_models.py:727: in test_datetime_uses_timestamp_ms_from_snuba
assert second_before_now_str == timestamp_result
E AssertionError: assert '2026-02-23T0....862000+00:00' == '2026-02-23T02:51:18+00:00'
E 
E - 2026-02-23T02:51:18+00:00
E + 2026-02-23T02:51:18.862000+00:00
E ? +++++++
```

Contributor guide

Open the contributing guide

Research direction

Start by running tests/sentry/services/eventstore/test_models.py::EventNodeStoreTest::test_datetime_uses_timestamp_ms_from_snuba and inspect the failing assertion around line 727. Compare the expected and returned timestamp formatting, then confirm the test passes reliably while still verifying the timestamp_ms behavior.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.