getsentry / getsentry/sentry

Test pollution: tests/sentry/api/serializers/test_rule.py::WorkflowRuleSerializerTest::test_jira_server_action

Open
#109,465 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/notifications/notification_action/test_issue_alert_registry_handlers.py::TestJiraServerIssueAlertHandler::test_build_rule_action_blob tests/sentry/api/serializers/test_rule.py::WorkflowRuleSerializerTest::test_jira_server_action`
sentry sha: 4a80dec864917198998a489a30e28e2fbdcef252
run: https://github.com/getsentry/sentry/actions/runs/22426768603

Contributor guide

Open the contributing guide

Research direction

Start with tests/sentry/notifications/notification_action/test_issue_alert_registry_handlers.py::TestJiraServerIssueAlertHandler::test_build_rule_action_blob and tests/sentry/api/serializers/test_rule.py::WorkflowRuleSerializerTest::test_jira_server_action. Run the two-test pytest command from the issue to reproduce the pollution. Done means the tests no longer affect each other when run together.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.