We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c117b42 commit d71dad1Copy full SHA for d71dad1
tests/framework_grpc/test_distributed_tracing.py
@@ -138,6 +138,10 @@ def _test():
138
decoded["d"].pop("tk", None)
139
w3c_data.pop("tk")
140
141
+ # Round priority of newrelic header to 6 decimal places so it match tracestate.
142
+ decoded["d"]["pr"] = f"{decoded['d']['pr']:.6f}"
143
+ w3c_data["pr"] = f"{w3c_data['pr']:.6f}"
144
+
145
assert decoded["d"] == w3c_data
146
147
_test()
0 commit comments