Flaky test: tests/snuba/tasks/test_unmerge.py::UnmergeTestCase::test_unmerge
- 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
```
[1m[31mtests/snuba/tasks/test_unmerge.py[0m:433: in test_unmerge
assert_series_contains(
[1m[31mtests/snuba/tasks/test_unmerge.py[0m:408: in assert_series_contains
assert actual.get(key, 0) == value
[1m[31mE assert 10 == 9[0m
[1m[31mE + where 10 = (1771812000.0, 0)[0m
[1m[31mE + where = {1771812000: 10, 1771815600: 0}.get[0m
```
Contributor 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