getsentry / getsentry/sentry

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

Open
#108,979 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: 7ff1be947968f2335a896cb228819f332e9b2035
Run: https://github.com/getsentry/sentry/actions/runs/22292788007

```
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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.