Fix Scope tests
Fix the Scope related tests in Potel.
:x: 4467 Tests Failed:
| Tests completed | Failed | Passed | Skipped |
|---|---|---|---|
| 16467 | 4467 | 12000 | 1591 |
View the top 3 failed tests by shortest run time
tests.integrations.clickhouse_driver.test_clickhouse_driver test_clickhouse_dbapi_breadcrumbs_with_piiStack Traces | 0s run time
No failure message available
tests.integrations.clickhouse_driver.test_clickhouse_driver test_clickhouse_dbapi_spans_with_piiStack Traces | 0s run time
No failure message available
tests.integrations.starlette.test_starlette test_user_information_errorStack Traces | 0s run time
No failure message available
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard
In POTel this only works when there is this with sentry_sdk.start_span() in the test, because this is the point where our scopes are put on the OTel context.
This should also work without having a span. @sl0thentr0py said he will implement a switch to switch to Otel and in that case the Sentry scopes will be put on the OTel context during SDK init().
So I will leave this Issue here until it is time to implement that switch.
This is now outdated. Will close.