getsentry / getsentry/sentry

Flaky test: tests/sentry/feedback/endpoints/test_organization_feedback_categories.py::OrganizationFeedbackCategoriesTest::test_get_feedback_categories_basic

Open
#108,654 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/feedback/endpoints/test_organization_feedback_categories.py::OrganizationFeedbackCategoriesTest::test_get_feedback_categories_basic`
Sentry sha: abdb2eeccb973e9b33600d0fb95e18b12b995415
Run: https://github.com/getsentry/sentry/actions/runs/22208446956

```
tests/sentry/feedback/endpoints/test_organization_feedback_categories.py:112: in test_get_feedback_categories_basic
assert response.data["numFeedbacksContext"] == 4
E assert 5 == 4
```

Contributor guide

Open the contributing guide

Research direction

Start by running tests/sentry/feedback/endpoints/test_organization_feedback_categories.py::OrganizationFeedbackCategoriesTest::test_get_feedback_categories_basic and inspect the setup around the failing assertion at line 112. Trace why numFeedbacksContext is 5 instead of 4, then make the test reliable and confirm the test passes consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.