[Git][ghc/ghc][master] testsuite: Increase tolerance of T16916

Marge Bot gitlab at gitlab.haskell.org
Wed Aug 12 07:50:55 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
db6dd810 by Ben Gamari at 2020-08-12T03:50:48-04:00
testsuite: Increase tolerance of T16916

T16916 (testing #16916) has been slightly fragile in CI due to its
reliance on CPU times. While it's hard to see how to eliminate
the time-dependence entirely, we can nevertheless make it more tolerant.

Fixes #16966.

- - - - -


1 changed file:

- testsuite/tests/lib/base/T16916.hs


Changes:

=====================================
testsuite/tests/lib/base/T16916.hs
=====================================
@@ -46,4 +46,4 @@ main = do
 
   -- CPU consumption should roughly be the same when just idling vs
   -- when idling after the event been triggered
-  print $ eventTriggeredUsage / noEventUsage < 10.0
+  print $ eventTriggeredUsage / noEventUsage < 100.0



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/db6dd810eb7986a39657f7f028f1f4de92b321dd

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/db6dd810eb7986a39657f7f028f1f4de92b321dd
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200812/cc895826/attachment.html>


More information about the ghc-commits mailing list