Skip to content

Commit

Permalink
Fix HttpHandlerDiagnosticListenerTests.TestW3CHeadersTraceStateAndCor…
Browse files Browse the repository at this point in the history
…relationContext (#112753)

- Fix HttpHandlerDiagnosticListenerTests.TestW3CHeadersTraceStateAndCorrelationContext
- Disable TestW3CHeaders
  • Loading branch information
antonfirsov authored Feb 24, 2025
1 parent 5aacdc4 commit 0b80e90
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public async Task TestBasicReceiveAndResponseEvents()
}
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/112792")]
[OuterLoop]
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
public void TestW3CHeaders()
Expand Down Expand Up @@ -194,6 +195,7 @@ public void TestW3CHeadersTraceStateAndCorrelationContext()
{
using (var eventRecords = new EventObserverAndRecorder())
{
Activity.DefaultIdFormat = ActivityIdFormat.W3C;
var parent = new Activity("w3c activity");
parent.SetParentId(ActivityTraceId.CreateRandom(), ActivitySpanId.CreateRandom());
parent.TraceStateString = "some=state";
Expand Down

0 comments on commit 0b80e90

Please sign in to comment.