Skip to content

Commit 7500958

Browse files
authored
Fix triage dump tests. (#1334)
Fix triage dumps tests.
1 parent 55af711 commit 7500958

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SOS/SOS.UnitTests/SOSRunner.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,6 @@ public static async Task<SOSRunner> StartDebugger(TestInformation information, D
544544
{
545545
throw new ArgumentException("No DotNetDumpHost in configuration");
546546
}
547-
initialCommands.Add("setsymbolserver -directory %DEBUG_ROOT%");
548-
549547
// Add the path to runtime so dotnet-dump/SOS can find DAC/DBI for triage dumps
550548
if (information.DumpType == DumpType.Triage)
551549
{
@@ -555,6 +553,7 @@ public static async Task<SOSRunner> StartDebugger(TestInformation information, D
555553
initialCommands.Add("setclrpath " + runtimeSymbolsPath);
556554
}
557555
}
556+
initialCommands.Add("setsymbolserver -directory %DEBUG_ROOT%");
558557
arguments.Append(debuggerPath);
559558
arguments.Append(@" analyze %DUMP_NAME%");
560559
debuggerPath = config.DotNetDumpHost();

0 commit comments

Comments
 (0)