We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ee3fb7 commit 7011292Copy full SHA for 7011292
ghcide/test/exe/Main.hs
@@ -5401,14 +5401,15 @@ testIde rootDir arguments session = do
5401
sleep 1
5402
runIt
5403
5404
- -- hClose hInWrite
5405
timeout 3 (wait server) >>= \case
5406
Just () -> pure ()
5407
Nothing -> do
5408
putStrLn "Server does not exit in 3s, canceling the async task..."
5409
(t, _) <- duration $ cancel server
5410
putStrLn $ "Finishing canceling (took " <> showDuration t <> "s)"
5411
+ hClose hInWrite
5412
+ hClose hOutRead
5413
return res
5414
5415
positionMappingTests :: TestTree
0 commit comments