Skip to content

Commit bdfe96e

Browse files
remove test_on_new_span_without_transaction test
1 parent 14c6f78 commit bdfe96e

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

tests/integrations/rust_tracing/test_rust_tracing.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff 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-
216196
def test_on_event_exception(
217197
sentry_init,
218198
capture_items,

0 commit comments

Comments
 (0)