Skip to content

Commit 40d9301

Browse files
committed
Update TestRunner.cs
1 parent 0503b8b commit 40d9301

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
@@ -237,8 +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 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\"";
240+
var diagLog = Path.Combine(Environment.GetEnvironmentVariable("HELIX_WORKITEM_UPLOAD_ROOT"), "log.txt");
241+
var commonTestArgs = $"test {Options.Target} --diag:{diagLog} --logger:xunit --logger:\"console;verbosity=normal\" --blame \"CollectHangDump;TestTimeout=5m\"";
242242
if (Options.Quarantined)
243243
{
244244
Console.WriteLine("Running quarantined tests.");

0 commit comments

Comments
 (0)