Test pollution: tests/sentry/testutils/thread_leaks/test_pytest.py::TestSentryCapture::test_capture_event_allowlisted
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 21h 10m
- Merged PRs (30d)
- 635
Description
detected test pollution: `pytest tests/sentry/spans/consumers/process/test_consumer.py::test_schema_validator_rejects_none_fields[span_id] tests/sentry/testutils/thread_leaks/test_pytest.py::TestSentryCapture::test_capture_event_allowlisted`
sentry sha: 2597189bd40bd108bd7ec710a885fc0cc3e38548
job: https://github.com/getsentry/sentry/actions/runs/22282679680/job/64455743876
Contributor guide
Research direction
Start by running the reported pytest command at Sentry SHA 2597189bd40bd108bd7ec710a885fc0cc3e38548. Read tests/sentry/spans/consumers/process/test_consumer.py::test_schema_validator_rejects_none_fields[span_id] and tests/sentry/testutils/thread_leaks/test_pytest.py::TestSentryCapture::test_capture_event_allowlisted to identify the shared state causing pollution. Done means the tests pass together without affecting one another.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100