Try fixing tests and debug
[lsp-test.git] / test / Test.hs
index 8602118bc6e795c550ff5348c9edc7d5b3df71c9..f4c48d2243f712bb5378ff97603be09d00f151d4 100644 (file)
@@ -64,8 +64,8 @@ main = hspec $ do
 
       it "further timeout messages are ignored" $ runSessionWithConfig config "hie -d --vomit" fullCaps "test/data/renamePass" $ do
         doc <- openDoc "Desktop/simple.hs" "haskell"
+        waitForDiagnostics
         withTimeout 3 $ getDocumentSymbols doc
-        liftIO $ threadDelay 5000000
         -- shouldn't throw an exception
         getDocumentSymbols doc
         return ()