Flaky test: tests/sentry/notifications/utils/test_participants.py::GetSendToOwnersTest::test_disable_alerts_multiple_scopes
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/notifications/utils/test_participants.py::GetSendToOwnersTest::test_disable_alerts_multiple_scopes`
Sentry sha: 8946786f8c842378abaca48859e9dd3fde074066
Run: https://github.com/getsentry/sentry/actions/runs/22286171679
```
[1m[31mtests/sentry/notifications/utils/test_participants.py[0m:367: in test_disable_alerts_multiple_scopes
self.assert_recipients_are(
[1m[31mtests/sentry/notifications/utils/test_participants.py[0m:76: in assert_recipients_are
assert actual == expected
[1m[31mE AssertionError: assert defaultdict(<... slug=None)}}) == defaultdict(<... slug=None)}})[0m
[1m[31mE [0m
[1m[31mE Differing items:[0m
[1m[31mE {: {Actor(id=2575, actor_type='User', slug=None)}} != {: {Actor(id=2576, actor_type='User', slug=None)}}[0m
[1m[31mE {: {Actor(id=2575, actor_type='User', slug=None)}} != {: {Actor(id=2576, actor_type='User', slug=None)}}[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE defaultdict(, {[0m
[1m[31mE : {[0m
[1m[31mE - Actor(id=2576, actor_type='User', slug=None),[0m
[1m[31mE ? ^[0m
[1m[31mE + Actor(id=2575, actor_type='User', slug=None),[0m
[1m[31mE ? ^[0m
[1m[31mE },[0m
[1m[31mE : {[0m
[1m[31mE - Actor(id=2576, actor_type='User', slug=None),[0m
[1m[31mE ? ^[0m
[1m[31mE + Actor(id=2575, actor_type='User', slug=None),[0m
[1m[31mE ? ^[0m
[1m[31mE },[0m
[1m[31mE })[0m
```
Contributor guide
Research direction
Start with tests/sentry/notifications/utils/test_participants.py, especially GetSendToOwnersTest::test_disable_alerts_multiple_scopes, and reproduce the failure using the test named in the report. Compare the expected and actual recipient actors across repeated runs, then confirm the test passes consistently with the intended recipients.
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
- Mostly clear
- Newbie friendliness
- 45/100