diff --git a/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TelemetryTests.cs b/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TelemetryTests.cs index b09a2e72cb..9d8fc98e34 100644 --- a/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TelemetryTests.cs +++ b/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TelemetryTests.cs @@ -8,6 +8,12 @@ namespace MSTest.Acceptance.IntegrationTests; [TestClass] +// The VSTest_* tests below invoke `dotnet test` against the same shared VSTest project +// path for every target framework. Running them in parallel races on MSBuild outputs +// such as `bin/Release//TelemetryVSTestProject.runtimeconfig.json` and shared +// `obj/` files, which causes intermittent `GenerateRuntimeConfigurationFiles` failures. +// Serialize all tests in this class to keep the suite deterministic. +[DoNotParallelize] public sealed class TelemetryTests : AcceptanceTestBase { private const string MTPAssetName = "TelemetryMTPProject";