File tree Expand file tree Collapse file tree 4 files changed +4
-24
lines changed
MSTest.Acceptance.IntegrationTests
Microsoft.Testing.Platform.Acceptance.IntegrationTests Expand file tree Collapse file tree 4 files changed +4
-24
lines changed Original file line number Diff line number Diff line change 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" />
Original file line number Diff line number Diff line change 33
44using Microsoft . Testing . Extensions ;
55
6+ [ assembly: Parallelize ( Scope = ExecutionScope . MethodLevel , Workers = 0 ) ]
7+
68// Opt-out telemetry
79Environment . SetEnvironmentVariable ( "DOTNET_CLI_TELEMETRY_OPTOUT" , "1" ) ;
810
Original file line number Diff line number Diff line change 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" />
Original file line number Diff line number Diff line change 33
44using Microsoft . Testing . Extensions ;
55
6+ [ assembly: Parallelize ( Scope = ExecutionScope . MethodLevel , Workers = 0 ) ]
7+
68// Opt-out telemetry
79Environment . SetEnvironmentVariable ( "DOTNET_CLI_TELEMETRY_OPTOUT" , "1" ) ;
810
You can’t perform that action at this time.
0 commit comments