Skip to content

Commit 02e812c

Browse files
committed
Remove spanId tracestate assertion from grpc tests
1 parent 50bfb69 commit 02e812c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/framework_grpc/test_distributed_tracing.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ def _test():
129129
# The external span should be the parent
130130
exact_intrinsics["guid"] = w3c_parent["id"]
131131

132-
# Check that tracestate and traceparent agree on the span id / sampled flag
133-
assert nr_tracestate["id"] == w3c_parent["id"]
132+
# Check that traceparent contains the span id
133+
assert w3c_parent["id"]
134+
# Check that tracestate and traceparent agree on the sampled flag
134135
assert nr_tracestate["sa"] == w3c_parent["sa"]
135136

136137
_test()

0 commit comments

Comments
 (0)