Flaky test: tests/snuba/tasks/test_unmerge.py::UnmergeTestCase::test_unmerge
Open
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/snuba/tasks/test_unmerge.py::UnmergeTestCase::test_unmerge
Sentry sha: 405c781e4bcb9380607169cc7de045bcc30823e6
Run: https://github.com/getsentry/sentry/actions/runs/22270628212
[1m[31mtests/snuba/tasks/test_unmerge.py[0m:301: in test_unmerge
assert list(
[1m[31mE assert [(7, datetime...imezone.utc))] == [(6, datetime...imezone.utc))][0m
[1m[31mE [0m
[1m[31mE At index 0 diff: (7, datetime.datetime(2026, 2, 22, 4, 47, 37, tzinfo=datetime.timezone.utc), datetime.datetime(2026, 2, 22, 4, 47, 43, tzinfo=datetime.timezone.utc)) != (6, datetime.datetime(2026, 2, 22, 4, 47, 37, tzinfo=datetime.timezone.utc), datetime.datetime(2026, 2, 22, 4, 47, 42, tzinfo=datetime.timezone.utc))[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE [[0m
[1m[31mE ([0m
[1m[31mE - 6,[0m
[1m[31mE ? ^[0m
[1m[31mE + 7,[0m
[1m[31mE ? ^[0m
[1m[31mE datetime.datetime(2026, 2, 22, 4, 47, 37, tzinfo=datetime.timezone.utc),[0m
[1m[31mE - datetime.datetime(2026, 2, 22, 4, 47, 42, tzinfo=datetime.timezone.utc),[0m
[1m[31mE ? ^[0m
[1m[31mE + datetime.datetime(2026, 2, 22, 4, 47, 43, tzinfo=datetime.timezone.utc),[0m
[1m[31mE ? ^[0m
[1m[31mE ),[0m
[1m[31mE ][0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tests/snuba/tasks/test_unmerge.py, especially test_unmerge around line 301, and reproduce the failure from the linked GitHub Actions run. Trace why the result differs in count and timestamp, then verify the test passes consistently without changing its intended assertions.
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
- 35/100