Skip to content

Commit

Permalink
Merge branch 'master' into szokeasaurusrex/unpin-pytest-redis
Browse files Browse the repository at this point in the history
  • Loading branch information
szokeasaurusrex authored Oct 29, 2024
2 parents 4fe3130 + d48dc46 commit 8f7b475
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-ai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All AI tests passed
name: All pinned AI tests passed
needs: test-ai-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-aws-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All AWS Lambda tests passed
name: All pinned AWS Lambda tests passed
needs: test-aws_lambda-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-cloud-computing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Cloud Computing tests passed
name: All pinned Cloud Computing tests passed
needs: test-cloud_computing-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Common tests passed
name: All pinned Common tests passed
needs: test-common-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-data-processing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Data Processing tests passed
name: All pinned Data Processing tests passed
needs: test-data_processing-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Databases tests passed
name: All pinned Databases tests passed
needs: test-databases-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-graphql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All GraphQL tests passed
name: All pinned GraphQL tests passed
needs: test-graphql-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-miscellaneous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Miscellaneous tests passed
name: All pinned Miscellaneous tests passed
needs: test-miscellaneous-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-networking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Networking tests passed
name: All pinned Networking tests passed
needs: test-networking-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-web-frameworks-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Web Frameworks 1 tests passed
name: All pinned Web Frameworks 1 tests passed
needs: test-web_frameworks_1-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integrations-web-frameworks-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
files: .junitxml
verbose: true
check_required_tests:
name: All Web Frameworks 2 tests passed
name: All pinned Web Frameworks 2 tests passed
needs: test-web_frameworks_2-pinned
# Always run this, even if a dependent job failed
if: always()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
check_required_tests:
name: All {{ group }} tests passed
name: All pinned {{ group }} tests passed
{% if "pinned" in categories %}
needs: test-{{ group | replace(" ", "_") | lower }}-pinned
{% endif %}
Expand Down
5 changes: 5 additions & 0 deletions tests/integrations/rq/test_rq.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ def test_traces_sampler_gets_correct_values_in_sampling_context(
@pytest.mark.skipif(
parse_version(rq.__version__) < (1, 5), reason="At least rq-1.5 required"
)
@pytest.mark.skipif(
parse_version(rq.__version__) >= (2,),
reason="Test broke in RQ 2.0. Investigate and fix. "
"See https://github.com/getsentry/sentry-python/issues/3707.",
)
def test_job_with_retries(sentry_init, capture_events):
sentry_init(integrations=[RqIntegration()])
events = capture_events()
Expand Down

0 comments on commit 8f7b475

Please sign in to comment.