We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a49f7 commit 278aa55Copy full SHA for 278aa55
src/Identity/test/Helix6.OutOfProcessHang.Test/UnitTest1.cs
@@ -1,7 +1,6 @@
1
using System;
2
using System.Diagnostics;
3
using System.IO;
4
-using System.Runtime.InteropServices;
5
using System.Threading;
6
using System.Threading.Tasks;
7
using ProcessUtilities;
@@ -26,9 +25,7 @@ public async Task OutOfProcessHang()
26
25
27
_testOutputHelper.WriteLine($"About to execute: {path}");
28
29
- var sleepCmd = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? "timeout" : "sleep";
30
-
31
- await ProcessUtil.RunAsync(sleepCmd, "600");
+ await ProcessUtil.RunAsync("dotnet", path);
32
}
33
34
0 commit comments