summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-11 10:05:02 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-12 03:50:48 -0400
commitdb6dd810eb7986a39657f7f028f1f4de92b321dd (patch)
treeecbe597214ed3edc3d22bb3bd3b5856b1f9a4692
parentaccbc242e555822a2060091af7188ce6e9b0144e (diff)
downloadhaskell-db6dd810eb7986a39657f7f028f1f4de92b321dd.tar.gz
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.
-rw-r--r--testsuite/tests/lib/base/T16916.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/lib/base/T16916.hs b/testsuite/tests/lib/base/T16916.hs
index a81bbd02bd..267f0c5760 100644
--- a/testsuite/tests/lib/base/T16916.hs
+++ b/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