Run xunit.console.dll with "-parallel collections" option on Linux/arm (#20349)
authorEgor Chesakov <Egor.Chesakov@microsoft.com>
Thu, 11 Oct 2018 18:43:39 +0000 (11:43 -0700)
committerGitHub <noreply@github.com>
Thu, 11 Oct 2018 18:43:39 +0000 (11:43 -0700)
tests/tests.targets

index f6b62a7..c275a94 100644 (file)
@@ -31,6 +31,8 @@
 
     <PropertyGroup>
       <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>
       <ParallelRun Condition="'$(ParallelRun)'==''">all</ParallelRun>
     </PropertyGroup>
     <ItemGroup>