modifies flaky Microsoft.Win32 test (#40673)
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Tue, 11 Aug 2020 19:29:51 +0000 (12:29 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Aug 2020 19:29:51 +0000 (19:29 +0000)
- TimerElapsedIsRoughlyEquivalentToInterval

src/libraries/Microsoft.Win32.SystemEvents/tests/SystemEvents.CreateTimer.cs

index a969bc8..07e35f2 100644 (file)
@@ -139,7 +139,7 @@ namespace Microsoft.Win32.SystemEventsTests
         public void TimerElapsedIsRoughlyEquivalentToInterval(int interval)
         {
             const double permittedProportionUnder = -0.1;
-            const double permittedProportionOver = 0.5;
+            const double permittedProportionOver = 5.0;
             var elapsed = new AutoResetEvent(false);
             IntPtr timer = IntPtr.Zero;
             var stopwatch = new Stopwatch();