Skip to content

Commit 278aa55

Browse files
committed
Update UnitTest1.cs
1 parent 41a49f7 commit 278aa55

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Identity/test/Helix6.OutOfProcessHang.Test/UnitTest1.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Diagnostics;
33
using System.IO;
4-
using System.Runtime.InteropServices;
54
using System.Threading;
65
using System.Threading.Tasks;
76
using ProcessUtilities;
@@ -26,9 +25,7 @@ public async Task OutOfProcessHang()
2625

2726
_testOutputHelper.WriteLine($"About to execute: {path}");
2827

29-
var sleepCmd = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? "timeout" : "sleep";
30-
31-
await ProcessUtil.RunAsync(sleepCmd, "600");
28+
await ProcessUtil.RunAsync("dotnet", path);
3229
}
3330
}
3431
}

0 commit comments

Comments
 (0)