Skip to content

Commit 0b2f59c

Browse files
committed
more test updates
1 parent 613db58 commit 0b2f59c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/tracing/test_sampling.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,10 @@ def test_records_lost_event_only_if_traces_sampler_enabled(
310310
sampled_output,
311311
expected_record_lost_event_calls,
312312
):
313-
sentry_init(traces_sampler=traces_sampler)
313+
sentry_init(
314+
traces_sample_rate=None,
315+
traces_sampler=traces_sampler,
316+
)
314317
record_lost_event_calls = capture_record_lost_event_calls()
315318

316319
with start_span(name="dogpark") as span:

0 commit comments

Comments
 (0)