Flaky test: tests/sentry/integrations/opsgenie/test_integration.py::OpsgenieMigrationIntegrationTest::test_no_duplicate_keys
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/integrations/opsgenie/test_integration.py::OpsgenieMigrationIntegrationTest::test_no_duplicate_keys
Sentry sha: 4a8dadc9c184ad93a761561c5f57437a29cd3300
Run: https://github.com/getsentry/sentry/actions/runs/22283662003
[1m[31mtests/sentry/integrations/opsgenie/test_integration.py[0m:381: in test_no_duplicate_keys
assert org_integration.config == {
[1m[31mE AssertionError: assert {'team_table'...[MIGRATED]'}]} == {'team_table'...[MIGRATED]'}]}[0m
[1m[31mE [0m
[1m[31mE Differing items:[0m
[1m[31mE {'team_table': [{'id': '222-thinkies', 'integration_key': '123-key', 'team': 'thinkies [MIGRATED]'}]} != {'team_table': [{'id': '222-thonk', 'integration_key': '123-key', 'team': 'thonk [MIGRATED]'}]}[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE {[0m
[1m[31mE 'team_table': [[0m
[1m[31mE {[0m
[1m[31mE - 'id': '222-thonk',[0m
[1m[31mE ? ^[0m
[1m[31mE + 'id': '222-thinkies',[0m
[1m[31mE ? ^ +++[0m
[1m[31mE 'integration_key': '123-key',[0m
[1m[31mE - 'team': 'thonk [MIGRATED]',[0m
[1m[31mE ? ^[0m
[1m[31mE + 'team': 'thinkies [MIGRATED]',[0m
[1m[31mE ? ^ +++[0m
[1m[31mE },[0m
[1m[31mE ],[0m
[1m[31mE }[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 with tests/sentry/integrations/opsgenie/test_integration.py and run OpsgenieMigrationIntegrationTest::test_no_duplicate_keys, using the linked Actions run and reported Sentry SHA as context. Investigate why the migration produces either the thonk or thinkies team entry; done means the test passes consistently with the expected configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100