Flaky test: tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
Failing test: `tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id`
Sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
Run: https://github.com/getsentry/sentry/actions/runs/22426765176
```
[1m[31mtests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py[0m:367: in test_list_builds_search_by_build_id
assert len(builds) == 1
[1m[31mE AssertionError: assert 4 == 1[0m
[1m[31mE + where 4 = len([{'app_info': {'android_app_info': {'has_proguard_mapping': True}, 'app_icon_id': None, 'app_id': 'com.example.app4', ...ase_build_info': None, 'distribution_info': {'download_count': 0, 'is_installable': True, 'release_notes': None}, ...}])[0m
```
Contributor guide
Research direction
Start with tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id at Sentry sha 4a80dec864917198998a489a30e28e2fbdcef252, and run the test to reproduce the failure. Investigate why the search returns four builds instead of one; done means the test passes consistently with the expected result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 40/100