Flaky test: tests/sentry/api/test_paginator.py::CombinedQuerysetPaginatorTest::test_only_issue_alert_rules
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/api/test_paginator.py::CombinedQuerysetPaginatorTest::test_only_issue_alert_rules`
Sentry sha: 7ff1be947968f2335a896cb228819f332e9b2035
Run: https://github.com/getsentry/sentry/actions/runs/22292690818
```
[1m[31mtests/sentry/api/test_paginator.py[0m:683: in test_only_issue_alert_rules
assert page1_results[0].id == rule_ids[0]
[1m[31mE AssertionError: assert 71 == 66[0m
[1m[31mE + where 71 = .id[0m
```
Contributor guide
Research direction
Run tests/sentry/api/test_paginator.py::CombinedQuerysetPaginatorTest::test_only_issue_alert_rules and read the failure at line 683. Compare the expected rule_ids ordering with the observed page1_results; done means the test passes reliably without the reported ordering failure.
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
- Needs clarification
- Newbie friendliness
- 35/100