From: jneira Date: Thu, 11 Jul 2019 08:21:18 +0000 (+0200) Subject: Use the same magnitude in session timeout and threadDelay X-Git-Tag: 0.6.1.0~2^2~17 X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=b00bc722f2bba5276e895cf2c769cf139e4f2ed3 Use the same magnitude in session timeout and threadDelay --- 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 ()