getsentry / getsentry/sentry

Test pollution: tests/sentry/testutils/thread_leaks/test_pytest.py::TestSentryCapture::test_capture_event_strict_no_allowlist

Open
#108,986 1 comment 0 reactions 0 assignees View on GitHub
test-pollution Tests
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[trace_id] tests/sentry/testutils/thread_leaks/test_pytest.py::TestSentryCapture::test_capture_event_strict_no_allowlist`
sentry sha: 7ff1be947968f2335a896cb228819f332e9b2035
job: https://github.com/getsentry/sentry/actions/runs/22292739398/job/64483033140

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported command from the issue, using the referenced Sentry SHA and CI job for context. Compare the two tests when run together versus independently, then trace the reported pollution; done means the test pair no longer causes pollution and both tests pass.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.