getsentry / getsentry/sentry

Flaky test: tests/sentry/explore/endpoints/test_explore_saved_queries.py::ExploreSavedQueriesTest::test_get

Open
#108,995 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/explore/endpoints/test_explore_saved_queries.py::ExploreSavedQueriesTest::test_get`
Sentry sha: 3ae13ebdfdfbfd0d73e8a04d635b9ae4d95251de
Run: https://github.com/getsentry/sentry/actions/runs/22294879249

```
tests/sentry/explore/endpoints/test_explore_saved_queries.py:91: in test_get
assert response.data[3]["projects"] == self.project_ids
E assert [455768183262...7681832624128] == [455768183262...7681832624129]
E 
E At index 0 diff: 4557681832624129 != 4557681832624128
E 
E Full diff:
E [
E + 4557681832624129,
E 4557681832624128,
E - 4557681832624129,
E ]
```

Contributor guide

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.