Skip to content

Commit dc2539d

Browse files
authored
Add diag logs to test runs for now
1 parent 470a644 commit dc2539d

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
@@ -247,7 +247,8 @@ public async Task<int> RunTestsAsync()
247247
{
248248
// Timeout test run 5 minutes before the Helix job would timeout
249249
var cts = new CancellationTokenSource(Options.Timeout.Subtract(TimeSpan.FromMinutes(5)));
250-
var commonTestArgs = $"test {Options.Target} --logger:xunit --logger:\"console;verbosity=normal\" --blame \"CollectHangDump;TestTimeout=5m\"";
250+
var upload = Environment.GetEnvironmentVariable("HELIX_WORKITEM_UPLOAD_ROOT");
251+
var commonTestArgs = $"test {Options.Target} --diag:{upload}\log.txt --logger:xunit --logger:\"console;verbosity=normal\" --blame \"CollectHangDump;TestTimeout=5m\"";
251252
if (Options.Quarantined)
252253
{
253254
Console.WriteLine("Running quarantined tests.");

0 commit comments

Comments
 (0)