Flaky test: tests/sentry/issues/endpoints/test_organization_group_suspect_tags.py::OrganizationGroupSuspectTagsTestCase::test_get
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/issues/endpoints/test_organization_group_suspect_tags.py::OrganizationGroupSuspectTagsTestCase::test_get`
Sentry sha: 7ff1be947968f2335a896cb228819f332e9b2035
Run: https://github.com/getsentry/sentry/actions/runs/22292788007
```
[1m[31mtests/sentry/issues/endpoints/test_organization_group_suspect_tags.py[0m:48: in test_get
assert response.json() == {
[1m[31mE AssertionError: assert {'data': [{'s...g': 'other'}]} == {'data': [{'s...g': 'other'}]}[0m
[1m[31mE [0m
[1m[31mE Differing items:[0m
[1m[31mE {'data': [{'score': 0.0, 'tag': 'key'}, {'score': 0.0, 'tag': 'other'}]} != {'data': [{'score': 2.7622287114272543, 'tag': 'key'}, {'score': 0.0, 'tag': 'other'}]}[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE {[0m
[1m[31mE 'data': [[0m
[1m[31mE {[0m
[1m[31mE - 'score': 2.7622287114272543,[0m
[1m[31mE + 'score': 0.0,[0m
[1m[31mE 'tag': 'key',[0m
[1m[31mE },[0m
[1m[31mE {[0m
[1m[31mE 'score': 0.0,[0m
[1m[31mE 'tag': 'other',[0m
[1m[31mE },[0m
[1m[31mE ],[0m
[1m[31mE }[0m
```
Contributor guide
Research direction
Start with tests/sentry/issues/endpoints/test_organization_group_suspect_tags.py::OrganizationGroupSuspectTagsTestCase::test_get and review the assertion at line 48. Reproduce the failure using the linked GitHub Actions run, then trace why the `key` score differs between runs. Done means the test is deterministic and passes with the expected response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100