fix this test: we were overflowing the IO manager's pipe with too many signals
authorSimon Marlow <marlowsd@gmail.com>
Tue, 10 Mar 2009 09:09:16 +0000 (09:09 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 10 Mar 2009 09:09:16 +0000 (09:09 +0000)
tests/signals004.hs

index 711a6eb..d822056 100644 (file)
@@ -6,7 +6,9 @@ import Control.Monad
 -- signals are being constantly thrown and caught.
 
 installers = 50
-sigs = 10000
+-- too many signals overflows the IO manager's pipe buffer, this seems
+-- to be the most we can get away with:
+sigs = 400
 
 main = do
   c <- newChan