Flaky test: tests/sentry/incidents/test_logic.py::UpdateAlertRuleTest::test
Open
Nobody has claimed this yet.
flaky-test
Tests
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 23m
- Merged PRs (30d)
- 607
Description
Failing test: tests/sentry/incidents/test_logic.py::UpdateAlertRuleTest::test
Sentry sha: ab471d2d1ede60c8a8c1e3911b78a71a83261eae
Run: https://github.com/getsentry/sentry/actions/runs/22271635871
[1m[31mtests/sentry/incidents/test_logic.py[0m:874: in test
assert self.alert_rule.projects.all()[0] == updated_projects[0]
[1m[31mE AssertionError: assert <Project at 0x7fb97f0e0870: id=4557676149342208, team_id=None, name='Sharp Mako', slug='sharp-mako', organization_id=4557676149276672> == <Project at 0x7fb9916dd710: id=4557676149276672, team_id=None, name='Bar', slug='bar', organization_id=4557676149276672>[0m
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure from the linked GitHub Actions run and inspect tests/sentry/incidents/test_logic.py::UpdateAlertRuleTest::test, especially the assertion at line 874. Investigate why the selected projects differ between runs, then make the test deterministic and rerun it to confirm the failure is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100