You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/IntegrationTests/OwinIISTests.cs
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,13 @@ namespace IntegrationTests;
11
11
12
12
publicclassOwinIISTests
13
13
{
14
-
privatestaticreadonlyHttpClientClient=new();
14
+
privatestaticreadonlyHttpClientClient=new()
15
+
{
16
+
DefaultRequestHeaders=
17
+
{
18
+
{"traceparent","00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01"}// send a traceparent header to verify that parent span id is propagated
19
+
}
20
+
};
15
21
16
22
publicOwinIISTests(ITestOutputHelperoutput)
17
23
{
@@ -84,7 +90,6 @@ public async Task SubmitMetrics()
84
90
85
91
privateasyncTaskCallWebEndpoint(intwebPort)
86
92
{
87
-
Client.DefaultRequestHeaders.Add("traceparent","00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01");// send a traceparent header to verify that parent span id is propagated
0 commit comments