Try and debug macOS failing tests
authorLuke Lau <luke_lau@icloud.com>
Fri, 7 Dec 2018 20:16:44 +0000 (20:16 +0000)
committerLuke Lau <luke_lau@icloud.com>
Fri, 7 Dec 2018 20:16:44 +0000 (20:16 +0000)
test/Test.hs

index f73c18606bee24d24d86c70347d3bfc81c61c5dd..36fc0aaef2fa5b43348d612ad7c344b18a4b6443 100644 (file)
@@ -60,7 +60,7 @@ main = hspec $ do
                     withTimeout 5 $ skipManyTill anyMessage publishDiagnosticsNotification
           in void $ timeout 6000000 sesh
 
-      it "further timeout messages are ignored" $ runSession "hie" fullCaps "test/data/renamePass" $ do
+      it "further timeout messages are ignored" $ runSessionWithConfig (defaultConfig { logStdErr = True, logMessages = True }) "hie" fullCaps "test/data/renamePass" $ do
         doc <- openDoc "Desktop/simple.hs" "haskell"
         withTimeout 3 $ getDocumentSymbols doc
         liftIO $ threadDelay 5000000