getsentry / getsentry/sentry

Flaky test: tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py::OrganizationPreprodListBuildsEndpointTest::test_list_builds_search_by_build_id

Open
#109,459 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/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

```
tests/sentry/preprod/api/endpoints/test_organization_preprod_list_builds.py:367: in test_list_builds_search_by_build_id
assert len(builds) == 1
E AssertionError: assert 4 == 1
E + 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}, ...}])
```

Contributor guide

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.