Flaky test: tests/sentry/explore/endpoints/test_explore_saved_queries.py::ExploreSavedQueriesTest::test_get
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/explore/endpoints/test_explore_saved_queries.py::ExploreSavedQueriesTest::test_get`
Sentry sha: 3ae13ebdfdfbfd0d73e8a04d635b9ae4d95251de
Run: https://github.com/getsentry/sentry/actions/runs/22294879249
```
[1m[31mtests/sentry/explore/endpoints/test_explore_saved_queries.py[0m:91: in test_get
assert response.data[3]["projects"] == self.project_ids
[1m[31mE assert [455768183262...7681832624128] == [455768183262...7681832624129][0m
[1m[31mE [0m
[1m[31mE At index 0 diff: 4557681832624129 != 4557681832624128[0m
[1m[31mE [0m
[1m[31mE Full diff:[0m
[1m[31mE [[0m
[1m[31mE + 4557681832624129,[0m
[1m[31mE 4557681832624128,[0m
[1m[31mE - 4557681832624129,[0m
[1m[31mE ][0m
```
Contributor guide
Research direction
Start by running tests/sentry/explore/endpoints/test_explore_saved_queries.py::ExploreSavedQueriesTest::test_get and inspect the assertion at line 91, using the linked CI run for comparison. Trace why response.data[3]["projects"] differs in ordering from self.project_ids; done means the test passes reliably with the expected project IDs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100