File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -646,12 +646,18 @@ try {
646646
647647 if ($testDesktop -and $ci ) {
648648 # Run FSharpSuite in the background because it's very slow in the CI.
649- $bgJob = TestUsingMSBuild - testProject " $RepoRoot \tests\fsharp\FSharpSuite.Tests.fsproj" - targetFramework $script :desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharpSuite.Tests\" - backgroundJob 1 - settings " -- xUnit.MaxParallelThreads=4.0x"
649+ $bgJob1 = TestUsingMSBuild - testProject " $RepoRoot \tests\fsharp\FSharpSuite.Tests.fsproj" - targetFramework $script :desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharpSuite.Tests\" - backgroundJob 1 - settings " -- xUnit.MaxParallelThreads=4.0x"
650+ # Split ComponentTests run into two processes using filter.
651+ $bgJob2 = TestUsingMSBuild - testProject " $RepoRoot \tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" - targetFramework $script :desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharp.Compiler.ComponentTests\" - backgroundJob 2 - settings " --filter "" FullyQualifiedName!~Conformance&FullyQualifiedName!~Miscellaneous"" "
652+ $bgJob3 = TestUsingMSBuild - testProject " $RepoRoot \tests\FSharp.Compiler.ComponentTests\FSharp.Compiler.ComponentTests.fsproj" - targetFramework $script :desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharp.Compiler.ComponentTests\" - backgroundJob 3 - settings " --filter "" FullyQualifiedName~Conformance|FullyQualifiedName~Miscellaneous"" "
653+
650654 # Run in single node with -m:1. There is no need to rush, it will wait for FSharpSuite anyway.
651- TestSolutionUsingMSBuild - testSolution " $RepoRoot \FSharp.sln" - targetFramework $script :desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharp.Compiler.ComponentTests\" - settings " --no-build -m:1 --filter Project!=FSharpSuite.Tests "
655+ TestSolutionUsingMSBuild - testSolution " $RepoRoot \FSharp.sln" - targetFramework $script :desktopTargetFramework - testadapterpath " $ArtifactsDir \bin\FSharp.Compiler.ComponentTests\" - settings " --no-build -m:1 --filter "" Project!=FSharpSuite.Tests&Project!=FSharp.Compiler.ComponentTests "" "
652656
653657 # Collect output from background job
654- Receive - job $bgJob
658+ Receive - job $bgJob1
659+ Receive - job $bgJob2
660+ Receive - job $bgJob3
655661 }
656662
657663 if ($testFSharpQA ) {
You can’t perform that action at this time.
0 commit comments