diff --git a/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInListenerTests.cs b/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInListenerTests.cs index cc64ab13182..465c3192173 100644 --- a/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInListenerTests.cs +++ b/test/OpenTelemetry.Instrumentation.AspNet.Tests/HttpInListenerTests.cs @@ -58,7 +58,7 @@ public void AspNetRequestsAreCollectedSuccessfully( string filter = null, bool recordException = false) { - IDisposable openTelemetry = null; + IDisposable tracerProvider = null; RouteData routeData; switch (routeType) {