projects
/
lsp-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa27834
)
Use the same magnitude in session timeout and threadDelay
author
jneira
<atreyu.bbb@gmail.com>
Thu, 11 Jul 2019 08:21:18 +0000
(10:21 +0200)
committer
jneira
<atreyu.bbb@gmail.com>
Thu, 11 Jul 2019 08:21:18 +0000
(10:21 +0200)
test/Test.hs
patch
|
blob
|
history
diff --git
a/test/Test.hs
b/test/Test.hs
index cdcdf5d37d5c5fedf093b0d638b20e4f25ff5d29..75e16283b49895b6dae4eee1737c7dc92a5acf50 100644
(file)
--- 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
1
0
+ liftIO $ threadDelay
$ 10 * 100000
0
_ <- openDoc "Desktop/simple.hs" "haskell"
return ()