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 2a861a0 commit 417b4afCopy full SHA for 417b4af
test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/W3CTraceContextTests.cs
@@ -24,6 +24,12 @@ public sealed class W3CTraceContextTests : IDisposable
24
private readonly HttpClient httpClient = new();
25
private readonly ITestOutputHelper output;
26
27
+ static W3CTraceContextTests()
28
+ {
29
+ // See https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/10.0/default-trace-context-propagator
30
+ DistributedContextPropagator.Current = DistributedContextPropagator.CreatePreW3CPropagator();
31
+ }
32
+
33
public W3CTraceContextTests(ITestOutputHelper output)
34
{
35
this.output = output;
0 commit comments