getsentry / getsentry/sentry

Flaky test: tests/sentry/issues/endpoints/test_organization_group_suspect_tags.py::OrganizationGroupSuspectTagsTestCase::test_get

Open
#108,738 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/issues/endpoints/test_organization_group_suspect_tags.py::OrganizationGroupSuspectTagsTestCase::test_get`
Sentry sha: b7f19349fe11a9d2b341a0deb1a66d79095cfe63
Run: https://github.com/getsentry/sentry/actions/runs/22240676494

```
tests/sentry/issues/endpoints/test_organization_group_suspect_tags.py:48: in test_get
assert response.json() == {
E AssertionError: assert {'data': [{'s...g': 'other'}]} == {'data': [{'s...g': 'other'}]}
E 
E Differing items:
E {'data': [{'score': 0.0, 'tag': 'key'}, {'score': 0.0, 'tag': 'other'}]} != {'data': [{'score': 2.7622287114272543, 'tag': 'key'}, {'score': 0.0, 'tag': 'other'}]}
E 
E Full diff:
E {
E 'data': [
E {
E - 'score': 2.7622287114272543,
E + 'score': 0.0,
E 'tag': 'key',
E },
E {
E 'score': 0.0,
E 'tag': 'other',
E },
E ],
E }
```

Contributor guide

Open the contributing guide

Research direction

Start by running tests/sentry/issues/endpoints/test_organization_group_suspect_tags.py::OrganizationGroupSuspectTagsTestCase::test_get and compare its response with the assertion at line 48. Use the linked CI run to check the differing score values and determine when the result changes. Done means the test produces a stable response matching its assertion.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.