Flaky test: tests/sentry/api/helpers/test_group_index.py::MergeGroupsTest::test_multiple_groups_same_project
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/api/helpers/test_group_index.py::MergeGroupsTest::test_multiple_groups_same_project`
Sentry sha: ab471d2d1ede60c8a8c1e3911b78a71a83261eae
Run: https://github.com/getsentry/sentry/actions/runs/22271637063
```
[1m[31mtests/sentry/api/helpers/test_group_index.py[0m:515: in test_multiple_groups_same_project
assert [group.id for group in call_args[0]] == group_ids
[1m[31mE assert [424, 423] == [423, 424][0m
[1m[31mE [0m
[1m[31mE At index 0 diff: 424 != 423[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE [[0m
[1m[31mE + 424,[0m
[1m[31mE 423,[0m
[1m[31mE - 424,[0m
[1m[31mE ][0m
```
Contributor guide
Research direction
Start with tests/sentry/api/helpers/test_group_index.py::MergeGroupsTest::test_multiple_groups_same_project and reproduce it using the linked Actions run or the named test. Inspect why the group IDs arrive as [424, 423] instead of [423, 424]; done means the test no longer fails intermittently because of this ordering difference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100