summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-08-11 10:05:02 -0400
committerBen Gamari <ben@smart-cactus.org>2020-08-11 10:05:02 -0400
commit18540a4b74fa2f4c628ef1f16fb6e231d924f992 (patch)
tree67c54a3190b97b57d2f8d1a0d39ae53778350a50
parent77398b678aba45ba25932a39b7e8a7a31d0dd6f3 (diff)
downloadhaskell-wip/T16916.tar.gz
testsuite: Increase tolerance of T16916wip/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