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 a8dbd68 commit 1d99790Copy full SHA for 1d99790
modules/integration/src/test/scala/scala/cli/integration/BspTestDefinitions.scala
@@ -72,11 +72,8 @@ abstract class BspTestDefinitions(val scalaVersionOpt: Option[String])
72
val (localClient, remoteServer0, shutdownFuture) =
73
TestBspClient.connect(proc.stdout, proc.stdin, pool)
74
remoteServer = remoteServer0
75
- val f0 = async {
76
- await(remoteServer.buildInitialize(initParams(root)).asScala)
77
- await(f(localClient, remoteServer))
78
- }
79
- Await.result(f0, 3.minutes)
+ Await.result(remoteServer.buildInitialize(initParams(root)).asScala, 3.minutes)
+ Await.result(f(localClient, remoteServer), 3.minutes)
80
}
81
finally {
82
if (remoteServer != null)
0 commit comments