Skip to content

Commit e340c76

Browse files
authored
Update test/OpenTelemetry.Instrumentation.AspNetCore.Tests/RouteTests/TestApplication/TestApplicationFactory.cs
1 parent e9a836b commit e340c76

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/OpenTelemetry.Instrumentation.AspNetCore.Tests/RouteTests/TestApplication/TestApplicationFactory.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ private static WebApplication CreateExceptionHandlerApplication()
183183
app.Urls.Clear();
184184
app.Urls.Add("http://[::1]:0");
185185

186-
// TODO: Remove this condition once ASP.NET Core 8.0.2.
187-
// Currently, .NET 8 has a different behavior than .NET 6 and 7.
188-
// This is because ASP.NET Core 8+ has native metric instrumentation.
189-
// When ASP.NET Core 8.0.2 is released then its behavior will align with .NET 6/7.
190-
// See: https://github.com/dotnet/aspnetcore/issues/52648#issuecomment-1853432776
186+
// TODO: Remove this condition once ASP.NET Core 8.0.2.
187+
// Currently, .NET 8 has a different behavior than .NET 6 and 7.
188+
// This is because ASP.NET Core 8+ has native metric instrumentation.
189+
// When ASP.NET Core 8.0.2 is released then its behavior will align with .NET 6/7.
190+
// See: https://github.com/dotnet/aspnetcore/issues/52648#issuecomment-1853432776
191191
#if !NET8_0_OR_GREATER
192192
app.MapGet("/Exception", (ctx) => throw new ApplicationException());
193193
#else

0 commit comments

Comments
 (0)