Skip to content

Commit f9f7d78

Browse files
committed
Revert "Double processor count"
This reverts commit fdd7615.
1 parent fdd7615 commit f9f7d78

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

test/IntegrationTests/MSTest.Acceptance.IntegrationTests/MSTest.Acceptance.IntegrationTests.csproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@
1515
<Compile Include="$(RepoRoot)test\IntegrationTests\Microsoft.Testing.Platform.Acceptance.IntegrationTests\ServerMode\**\*.cs" Link="ServerMode\%(RecursiveDir)%(FileName)%(Extension)" />
1616
</ItemGroup>
1717

18-
<PropertyGroup>
19-
<_ProcessorCount>$([System.Environment]::ProcessorCount)</_ProcessorCount>
20-
</PropertyGroup>
21-
<ItemGroup>
22-
<AssemblyAttribute Include="Microsoft.VisualStudio.TestTools.UnitTesting.Parallelize">
23-
<_Parameter1>Workers = $(_ProcessorCount) * 2</_Parameter1>
24-
<_Parameter1_IsLiteral>true</_Parameter1_IsLiteral>
25-
<_Parameter2>Scope = Microsoft.VisualStudio.TestTools.UnitTesting.ExecutionScope.MethodLevel</_Parameter2>
26-
<_Parameter2_IsLiteral>true</_Parameter2_IsLiteral>
27-
</AssemblyAttribute>
28-
</ItemGroup>
29-
3018
<ItemGroup>
3119
<PackageReference Include="MSBuild.StructuredLogger" />
3220
<PackageReference Include="StreamJsonRpc" />

test/IntegrationTests/MSTest.Acceptance.IntegrationTests/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
using Microsoft.Testing.Extensions;
55

6+
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel, Workers = 0)]
7+
68
// Opt-out telemetry
79
Environment.SetEnvironmentVariable("DOTNET_CLI_TELEMETRY_OPTOUT", "1");
810

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests.csproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,6 @@
88
<DefineConstants Condition=" '$(FastAcceptanceTest)' == 'true'">$(DefineConstants);SKIP_INTERMEDIATE_TARGET_FRAMEWORKS</DefineConstants>
99
</PropertyGroup>
1010

11-
<PropertyGroup>
12-
<_ProcessorCount>$([System.Environment]::ProcessorCount)</_ProcessorCount>
13-
</PropertyGroup>
14-
<ItemGroup>
15-
<AssemblyAttribute Include="Microsoft.VisualStudio.TestTools.UnitTesting.Parallelize">
16-
<_Parameter1>Workers = $(_ProcessorCount) * 2</_Parameter1>
17-
<_Parameter1_IsLiteral>true</_Parameter1_IsLiteral>
18-
<_Parameter2>Scope = Microsoft.VisualStudio.TestTools.UnitTesting.ExecutionScope.MethodLevel</_Parameter2>
19-
<_Parameter2_IsLiteral>true</_Parameter2_IsLiteral>
20-
</AssemblyAttribute>
21-
</ItemGroup>
22-
2311
<ItemGroup>
2412
<PackageReference Include="MSBuild.StructuredLogger" />
2513
<PackageReference Include="StreamJsonRpc" />

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
using Microsoft.Testing.Extensions;
55

6+
[assembly: Parallelize(Scope = ExecutionScope.MethodLevel, Workers = 0)]
7+
68
// Opt-out telemetry
79
Environment.SetEnvironmentVariable("DOTNET_CLI_TELEMETRY_OPTOUT", "1");
810

0 commit comments

Comments
 (0)