From b00bc722f2bba5276e895cf2c769cf139e4f2ed3 Mon Sep 17 00:00:00 2001 From: jneira Date: Thu, 11 Jul 2019 10:21:18 +0200 Subject: [PATCH] Use the same magnitude in session timeout and threadDelay --- test/Test.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Test.hs b/test/Test.hs index cdcdf5d..75e1628 100644 --- a/test/Test.hs +++ b/test/Test.hs @@ -104,7 +104,7 @@ main = hspec $ do it "don't throw when no time out" $ runSessionWithConfig (def {messageTimeout = 5}) "hie" fullCaps "test/data/renamePass" $ do loggingNotification - liftIO $ threadDelay 10 + liftIO $ threadDelay $ 10 * 1000000 _ <- openDoc "Desktop/simple.hs" "haskell" return () -- 2.30.2