File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
test/OpenTelemetry.Instrumentation.AspNetCore.Tests/RouteTests/TestApplication Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments