Skip to content

Commit 0503b8b

Browse files
committed
Add diag logs to test runs for now
1 parent 278aa55 commit 0503b8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/helix/content/RunTests/TestRunner.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ public async Task<int> RunTestsAsync()
237237
{
238238
// Timeout test run 5 minutes before the Helix job would timeout
239239
var cts = new CancellationTokenSource(Options.Timeout.Subtract(TimeSpan.FromMinutes(5)));
240-
var commonTestArgs = $"test {Options.Target} --logger:xunit --logger:\"console;verbosity=normal\" --blame \"CollectHangDump;TestTimeout=5m\"";
240+
var upload = Environment.GetEnvironmentVariable("HELIX_WORKITEM_UPLOAD_ROOT");
241+
var commonTestArgs = $"test {Options.Target} --diag:{upload}\log.txt --logger:xunit --logger:\"console;verbosity=normal\" --blame \"CollectHangDump;TestTimeout=5m\"";
241242
if (Options.Quarantined)
242243
{
243244
Console.WriteLine("Running quarantined tests.");

0 commit comments

Comments
 (0)