Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix HttpHandlerDiagnosticListenerTests.TestW3CHeadersTraceStateAndCor…
…relationContext
  • Loading branch information
antonfirsov authored and github-actions committed Feb 24, 2025
commit d5deab2217792a282007f0380eaba5a1eae29207
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ public void TestW3CHeadersTraceStateAndCorrelationContext()
{
using (var eventRecords = new EventObserverAndRecorder())
{
Activity.DefaultIdFormat = ActivityIdFormat.W3C;
Activity.ForceDefaultIdFormat = true;
var parent = new Activity("w3c activity");
parent.SetParentId(ActivityTraceId.CreateRandom(), ActivitySpanId.CreateRandom());
parent.TraceStateString = "some=state";
Expand Down