Skip to content

Commit f33be4a

Browse files
(wip): Fix test_sampling.py
1 parent 261bf6c commit f33be4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/tracing/test_sampling.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,11 @@ def test_records_lost_event_only_if_traces_sample_rate_enabled(
294294
"traces_sampler,sampled_output,expected_record_lost_event_calls",
295295
[
296296
(None, False, []),
297-
(lambda _x: 0.0, False, [("sample_rate", "transaction", None)]),
297+
(
298+
lambda _x: 0.0,
299+
False,
300+
[("sample_rate", "transaction", None, 1), ("sample_rate", "span", None, 1)],
301+
),
298302
(lambda _x: 1.0, True, []),
299303
],
300304
)

0 commit comments

Comments
 (0)