Restrict arm64 parallelism to collections
authorBruce Forstall <brucefo@microsoft.com>
Tue, 5 Feb 2019 00:21:43 +0000 (16:21 -0800)
committerBruce Forstall <brucefo@microsoft.com>
Tue, 5 Feb 2019 00:21:43 +0000 (16:21 -0800)
Attempt to reduce test timeout failures by restricting test parallelism.

Attempts to address https://github.com/dotnet/coreclr/issues/22419

tests/tests.targets

index c275a94..273b6aa 100644 (file)
@@ -33,6 +33,8 @@
       <ExcludeTraits Condition="'$(ExcludeTraits)'==''">category=outerloop;category=failing</ExcludeTraits>
       <!-- Run one assembly at a time on Linux/arm to avoid OutOfMemory (see https://github.com/dotnet/coreclr/issues/20328) -->
       <ParallelRun Condition="'$(ParallelRun)'=='' and '$(__BuildOS)'=='Linux' and '$(__BuildArch)'=='arm'">collections</ParallelRun>
+      <!-- Run one assembly at a time on arm64 to avoid excessive parallelism leading to test timeouts (see https://github.com/dotnet/coreclr/issues/22419) -->
+      <ParallelRun Condition="'$(ParallelRun)'=='' and '$(__BuildArch)'=='arm64'">collections</ParallelRun>
       <ParallelRun Condition="'$(ParallelRun)'==''">all</ParallelRun>
     </PropertyGroup>
     <ItemGroup>