File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ import System.Directory (getCurrentDirectory,
42
42
setCurrentDirectory )
43
43
import System.IO.Extra
44
44
import System.Process.Extra (createPipe )
45
+ import System.Time.Extra
45
46
import Test.Hls.Util
46
47
import Test.Tasty hiding (Timeout )
47
48
import Test.Tasty.ExpectedFailure
@@ -108,6 +109,8 @@ runSessionWithServer' plugin conf sconf caps root s = do
108
109
in ideOptions {optShakeOptions = (optShakeOptions ideOptions) {shakeThreads = 2 }},
109
110
argsHlsPlugins = pluginDescToIdePlugins $ plugin ++ Ghcide. descriptors
110
111
}
111
- withAsync server $ \ _ ->
112
+ x <- withAsync server $ \ _ ->
112
113
runSessionWithHandles inW outR sconf caps root s
113
114
`finally` setCurrentDirectory cwd
115
+ sleep 0.5
116
+ pure x
You can’t perform that action at this time.
0 commit comments