getsentry / getsentry/sentry

Flaky test: tests/snuba/tasks/test_unmerge.py::UnmergeTestCase::test_unmerge

Open
#108,966 2 comments 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/snuba/tasks/test_unmerge.py::UnmergeTestCase::test_unmerge`
Sentry sha: 94eda9b7a769c0e3366416f4aaa3606d9428cb1d
Run: https://github.com/getsentry/sentry/actions/runs/22291116321

```
tests/snuba/tasks/test_unmerge.py:433: in test_unmerge
assert_series_contains(
tests/snuba/tasks/test_unmerge.py:408: in assert_series_contains
assert actual.get(key, 0) == value
E assert 10 == 9
E + where 10 = (1771812000.0, 0)
E + where = {1771812000: 10, 1771815600: 0}.get
```

Contributor guide

Open the contributing guide

Research direction

Start by running tests/snuba/tasks/test_unmerge.py::UnmergeTestCase::test_unmerge and compare the failure with the linked GitHub Actions run. Read the assertion helper near line 408 and the test near line 433, then investigate why the actual series contains 10 instead of 9. Done means the test passes reliably without intermittent count differences.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.