Skip to content

Commit fc610e3

Browse files
committed
.
1 parent d52b361 commit fc610e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/integrations/stdlib/test_httplib.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def test_outgoing_trace_headers(
206206
"baggage": (
207207
"other-vendor-value-1=foo;bar;baz, sentry-trace_id=771a43a4192642f0b136d5159a501700, "
208208
"sentry-public_key=49d0f7386ad645858ae85020e393bef3, sentry-sample_rate=0.01337, "
209-
"sentry-user_id=Am%C3%A9lie, sentry-sample_rand=0.132521102938283, other-vendor-value-2=foo;bar;"
209+
"sentry-user_id=Am%C3%A9lie, sentry-sample_rand=0.00337, other-vendor-value-2=foo;bar;"
210210
),
211211
}
212212

@@ -231,9 +231,10 @@ def test_outgoing_trace_headers(
231231
expected_outgoing_baggage = (
232232
"sentry-trace_id=771a43a4192642f0b136d5159a501700,"
233233
"sentry-public_key=49d0f7386ad645858ae85020e393bef3,"
234-
"sentry-sample_rate=1.0,"
234+
"sentry-sample_rate=0.01337,"
235235
"sentry-user_id=Am%C3%A9lie,"
236-
"sentry-sample_rand=0.132521102938283"
236+
"sentry-sample_rand=0.00337,"
237+
"sentry-sampled=true"
237238
)
238239

239240
assert request_headers["baggage"] == SortedBaggage(expected_outgoing_baggage)

0 commit comments

Comments
 (0)