From e516460077b7d59b945c8cafec1edd5b57093065 Mon Sep 17 00:00:00 2001 From: Nils Gruson Date: Wed, 6 Dec 2023 16:28:56 +0100 Subject: [PATCH] Formatted temp comments properly in unit tests --- .../BasicTests.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/BasicTests.cs b/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/BasicTests.cs index ba5713da4d..374626dd95 100644 --- a/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/BasicTests.cs +++ b/test/OpenTelemetry.Instrumentation.AspNetCore.Tests/BasicTests.cs @@ -1128,18 +1128,17 @@ public async Task SiblingActivityCreatedWhenIdFormatIsNotW3CWithTraceFlagsNone() Assert.True(res.IsSuccessStatusCode); Assert.False(result); - //using (var client = this.factory + // using (var client = this.factory // .CreateClient()) - //{ + // { // var req = new HttpRequestMessage(HttpMethod.Get, "/api/values"); // var traceParent = "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-00"; // req.Headers.Add("traceparent", traceParent); // var res = await client.SendAsync(req); - // Assert.True(res.IsSuccessStatusCode); // Assert.Single(exportedItems); // Assert.Equal(traceParent, exportedItems[0].ParentId); - //} + // } tracerProvider.Dispose(); }