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 25a5085 commit 3092d86Copy full SHA for 3092d86
src/libraries/System.Diagnostics.Process/tests/ProcessThreadTests.cs
@@ -111,7 +111,9 @@ public void TestStartTimeProperty_OSX()
111
[PlatformSpecific(TestPlatforms.Linux|TestPlatforms.Windows)] // OSX and FreeBSD throw PNSE from StartTime
112
public async Task TestStartTimeProperty()
113
{
114
- TimeSpan allowedWindow = TimeSpan.FromSeconds(2);
+ TimeSpan allowedWindow = PlatformDetection.IsMonoRuntime
115
+ ? TimeSpan.FromSeconds(15)
116
+ : TimeSpan.FromSeconds(2);
117
118
using (Process p = Process.GetCurrentProcess())
119
0 commit comments