Skip to content

Commit 8523fde

Browse files
committed
.
1 parent d2055d9 commit 8523fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ def test_baggage_with_tracing_disabled(sentry_init):
9393
@pytest.mark.forked
9494
def test_baggage_with_tracing_enabled(sentry_init):
9595
sentry_init(traces_sample_rate=1.0, release="1.0.0", environment="dev")
96-
with mock.patch("sentry_sdk.tracing_utils.Random.uniform", return_value=0.123456):
96+
with mock.patch("sentry_sdk.tracing_utils.Random.uniform", return_value=0.111111):
9797
with start_span(name="foo") as span:
98-
expected_baggage = f"sentry-transaction=foo,sentry-trace_id={span.trace_id},sentry-sample_rand=0.123456,sentry-environment=dev,sentry-release=1.0.0,sentry-sample_rate=1.0,sentry-sampled=true" # noqa: E231
98+
expected_baggage = f"sentry-transaction=foo,sentry-trace_id={span.trace_id},sentry-sample_rand=0.111111,sentry-environment=dev,sentry-release=1.0.0,sentry-sample_rate=1.0,sentry-sampled=true" # noqa: E231
9999
assert get_baggage() == SortedBaggage(expected_baggage)
100100

101101

0 commit comments

Comments
 (0)