Prevent telemetry host termination on boolean MSTest setting payloads #8189
+63
−3
Azure Pipelines / microsoft.testfx (Build Windows Debug)
failed
May 15, 2026 in 8m 47s
Build Windows Debug failed
Annotations
azure-pipelines / microsoft.testfx (Build Windows Debug)
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs#L207
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs(207,23): error MSTEST0049: (NETCORE_ENGINEERING_TELEMETRY=Build) Consider using the overload that accepts a CancellationToken and pass 'TestContext.CancellationToken' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0049)
azure-pipelines / microsoft.testfx (Build Windows Debug)
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs#L207
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs(207,23): error MSTEST0049: (NETCORE_ENGINEERING_TELEMETRY=Build) Consider using the overload that accepts a CancellationToken and pass 'TestContext.CancellationToken' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0049)
azure-pipelines / microsoft.testfx (Build Windows Debug)
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs#L207
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs(207,23): error MSTEST0049: (NETCORE_ENGINEERING_TELEMETRY=Build) Consider using the overload that accepts a CancellationToken and pass 'TestContext.CancellationToken' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0049)
azure-pipelines / microsoft.testfx (Build Windows Debug)
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs#L207
test\UnitTests\Microsoft.Testing.Extensions.UnitTests\AppInsightsProviderTests.cs(207,23): error MSTEST0049: (NETCORE_ENGINEERING_TELEMETRY=Build) Consider using the overload that accepts a CancellationToken and pass 'TestContext.CancellationToken' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0049)
Check failure on line 9 in Build log
azure-pipelines / microsoft.testfx (Build Windows Debug)
Build log #L9
Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\TestResults\Debug
Loading