File tree Expand file tree Collapse file tree
tests/integrations/rust_tracing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,26 +193,6 @@ def test_nested_on_new_span_on_close(
193193 assert second_span_data ["version" ] == "None"
194194
195195
196- def test_on_new_span_without_transaction (
197- sentry_init ,
198- ):
199- rust_tracing = FakeRustTracing ()
200- integration = RustTracingIntegration (
201- "test_on_new_span_without_transaction" , rust_tracing .set_layer_impl
202- )
203- sentry_init (
204- integrations = [integration ],
205- traces_sample_rate = 1.0 ,
206- trace_lifecycle = "stream" ,
207- )
208- assert sentry_sdk .traces .get_current_span () is None
209-
210- # In streaming mode we do not create an orphan root segment when there
211- # is no active span
212- rust_tracing .new_span (RustTracingLevel .Info , 3 )
213- assert sentry_sdk .traces .get_current_span () is None
214-
215-
216196def test_on_event_exception (
217197 sentry_init ,
218198 capture_items ,
You can’t perform that action at this time.
0 commit comments