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 097d765 commit 3d1a0ebCopy full SHA for 3d1a0eb
test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/W3CTraceContextTests.cs
@@ -24,13 +24,11 @@ public sealed class W3CTraceContextTests : IDisposable
24
private readonly HttpClient httpClient = new();
25
private readonly ITestOutputHelper output;
26
27
-#if NET10_0_OR_GREATER
28
static W3CTraceContextTests()
29
{
30
// See https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/10.0/default-trace-context-propagator
31
DistributedContextPropagator.Current = DistributedContextPropagator.CreatePreW3CPropagator();
32
}
33
-#endif
34
35
public W3CTraceContextTests(ITestOutputHelper output)
36
0 commit comments