Flaky test: tests/sentry/feedback/endpoints/test_organization_feedback_categories.py::OrganizationFeedbackCategoriesTest::test_get_feedback_categories_basic
- 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
```
[1m[31mtests/sentry/feedback/endpoints/test_organization_feedback_categories.py[0m:112: in test_get_feedback_categories_basic
assert response.data["numFeedbacksContext"] == 4
[1m[31mE assert 5 == 4[0m
```
Contributor 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