getsentry / getsentry/sentry

Flaky test: tests/sentry/api/helpers/test_group_index.py::MergeGroupsTest::test_multiple_groups_same_project

Open
#108,882 1 comment 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/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

```
tests/sentry/api/helpers/test_group_index.py:515: in test_multiple_groups_same_project
assert [group.id for group in call_args[0]] == group_ids
E assert [424, 423] == [423, 424]
E 
E At index 0 diff: 424 != 423
E 
E Full diff:
E [
E + 424,
E 423,
E - 424,
E ]
```

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.