getsentry / getsentry/sentry

Flaky test: tests/sentry/api/test_paginator.py::CombinedQuerysetPaginatorTest::test_only_issue_alert_rules

Open
#108,983 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/api/test_paginator.py::CombinedQuerysetPaginatorTest::test_only_issue_alert_rules`
Sentry sha: 7ff1be947968f2335a896cb228819f332e9b2035
Run: https://github.com/getsentry/sentry/actions/runs/22292690818

```
tests/sentry/api/test_paginator.py:683: in test_only_issue_alert_rules
assert page1_results[0].id == rule_ids[0]
E AssertionError: assert 71 == 66
E + where 71 = .id
```

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.