Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .azure-pipelines/PipelineSteps/test-steps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ $buildArgs = "/p:Configuration=$Configuration;TestFramework=$TestFramework"

if ($IsLinux) {
# Applying various parallelism/heap restriction behaviors to prevent OOM issues on Ubuntu 24.04
Write-Host -ForegroundColor Yellow "Detected Linux agent applying memory tuning for tests"
Write-Host -ForegroundColor Yellow "Detected Linux agent - applying memory tuning for tests"
$env:DOTNET_gcServer = "0"
$env:DOTNET_gcHeapCount = "2"
$buildArgs += ";RunConfiguration.MaxCpuCount=2"
}

dotnet msbuild $buildProjPath /t:Test $buildArgs
Expand Down Expand Up @@ -86,4 +85,4 @@ if ($FailedModuleList.Length -ne 0)
}

Set-Location $currentPath
Write-Host -ForegroundColor DarkGreen "-------------------- End checking test status ... --------------------`n`n`n`n`n"
Write-Host -ForegroundColor DarkGreen "-------------------- End checking test status ... --------------------`n`n`n`n`n"
Loading