Permalink
Browse files

Extended the garbage collection timeout for tests

The tests fail if the garbage collector takes longer than 0.1 seconds to
trigger.  This was a common problem on windows where the garbage collector has
a longer delay.  I increased the delay to 0.2 seconds, but it may need a further
bump in the future.
  • Loading branch information...
1 parent ccbd404 commit 3514084e08d16afda4f949c98510873a6dc1fd4c @Gabriel439 committed Jan 26, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/tests-main.hs
View
@@ -11,7 +11,7 @@ import System.IO
import System.Timeout
defaultTimeout :: Int
-defaultTimeout = 100000 -- 0.1 s
+defaultTimeout = 200000 -- 0.2 s
labelPrint :: (Show a) => String -> Consumer a IO r
labelPrint label = forever $ do

0 comments on commit 3514084

Please sign in to comment.