getsentry / getsentry/sentry

Flaky test: tests/sentry/services/eventstore/test_models.py::EventTest::test_snuba_data

Open
#108,930 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

flaky-test Tests
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 23m
Merged PRs (30d)
607

Description

Failing test: tests/sentry/services/eventstore/test_models.py::EventTest::test_snuba_data
Sentry sha: 5d2fb55dc4851f3fed1a58b2eabfdb4d41c73cce
Run: https://github.com/getsentry/sentry/actions/runs/22284912273

tests/sentry/services/eventstore/test_models.py:254: in test_snuba_data
    assert event_from_nodestore.timestamp == event_from_snuba.timestamp
E   AssertionError: assert '2026-02-22T20:43:32+00:00' == '2026-02-22T2....775000+00:00'
E     
E     - 2026-02-22T20:43:32.775000+00:00
E     ?                    -------
E     + 2026-02-22T20:43:32+00:00

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running tests/sentry/services/eventstore/test_models.py::EventTest::test_snuba_data at the cited Sentry SHA and inspect the failing timestamp assertion around line 254. Compare the nodestore and Snuba event timestamps across repeated runs; the work is done when this test passes consistently with the timestamps equal.

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.