From 9afdc48f13346736520f6e3a4562d7f1735f42a1 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 15 Feb 2019 14:42:36 -0800 Subject: [PATCH] Disable remote symbol loading for dump files in CI (#7620) --- src/Servers/IIS/tools/SetupTestEnvironment.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Servers/IIS/tools/SetupTestEnvironment.ps1 b/src/Servers/IIS/tools/SetupTestEnvironment.ps1 index 06ab16c132..d4bf062624 100644 --- a/src/Servers/IIS/tools/SetupTestEnvironment.ps1 +++ b/src/Servers/IIS/tools/SetupTestEnvironment.ps1 @@ -80,7 +80,7 @@ function Setup-Dumps() New-ItemProperty $werHive -Name "DontShowUI" -Value 1 -PropertyType "DWORD" -Force; New-ItemProperty $ldHive -Name "DumpFolder" -Value $DumpFolder -PropertyType "ExpandString" -Force; - New-ItemProperty $ldHive -Name "DumpCount" -Value 15 -PropertyType "DWORD" -Force; + New-ItemProperty $ldHive -Name "DumpCount" -Value 5 -PropertyType "DWORD" -Force; New-ItemProperty $ldHive -Name "DumpType" -Value 2 -PropertyType "DWORD" -Force; Restart-Service WerSvc @@ -108,7 +108,7 @@ function Shutdown-Dumps() { if (Test-Path $cdb) { - & $cdb -z $dump.FullName -y "https://msdl.microsoft.com/download/symbols" -c ".loadby sos coreclr;!sym noisy;.reload /f;.dumpcab -a $($dump.FullName).cab;q;" + & $cdb -z $dump.FullName -y "cache*;srv*https://msdl.microsoft.com/download/symbols" -c ".loadby sos coreclr;!sym noisy;.reload /f;.dumpcab -a $($dump.FullName).cab;q;" Remove-Item $dump.FullName } }