Skip to content

Commit 7d14e1e

Browse files
authored
Update TestRunner.cs
1 parent dc2539d commit 7d14e1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/helix/content/RunTests/TestRunner.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +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 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\"";
250+
var diagLog = Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_UPLOAD_ROOT"), "log.txt");
251+
var commonTestArgs = $"test {Options.Target} --diag:{diagLog} --logger:xunit --logger:\"console;verbosity=normal\" --blame \"CollectHangDump;TestTimeout=5m\"";
252252
if (Options.Quarantined)
253253
{
254254
Console.WriteLine("Running quarantined tests.");

0 commit comments

Comments
 (0)