enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.31k stars 317 forks source link

Slow JsonRpcServer test server setup leads to random test failures #10284

Open hubertp opened 2 weeks ago

hubertp commented 2 weeks ago
 INFO ide_ci::program::command: sbtℹ️ [info] org.enso.languageserver.websocket.json.ContextRegistryTest *** ABORTED *** (6 seconds, 420 milliseconds)
 INFO ide_ci::program::command: sbtℹ️ [info]   java.util.concurrent.TimeoutException: Future timed out after [3 seconds]
 INFO ide_ci::program::command: sbtℹ️ [info]   at scala.concurrent.impl.Promise$DefaultPromise.tryAwait0(Promise.scala:248)
 INFO ide_ci::program::command: sbtℹ️ [info]   at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:261)
 INFO ide_ci::program::command: sbtℹ️ [info]   at scala.concurrent.Await$.$anonfun$result$1(package.scala:201)
 INFO ide_ci::program::command: sbtℹ️ [info]   at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:62)
 INFO ide_ci::program::command: sbtℹ️ [info]   at scala.concurrent.Await$.result(package.scala:124)
 INFO ide_ci::program::command: sbtℹ️ [info]   at org.enso.jsonrpc.test.JsonRpcServerTestKit.beforeEach(JsonRpcServerTestKit.scala:70)
 INFO ide_ci::program::command: sbtℹ️ [info]   at org.enso.languageserver.websocket.json.BaseServerTest.org$enso$testkit$WithTemporaryDirectory$$super$beforeEach(BaseServerTest.scala:81)
 INFO ide_ci::program::command: sbtℹ️ [info]   at org.enso.testkit.WithTemporaryDirectory.beforeEach(WithTemporaryDirectory.scala:20)
 INFO ide_ci::program::command: sbtℹ️ [info]   at org.enso.testkit.WithTemporaryDirectory.beforeEach$(WithTemporaryDirectory.scala:18)
 INFO ide_ci::program::command: sbtℹ️ [info]   at org.enso.languageserver.websocket.json.BaseServerTest.beforeEach(BaseServerTest.scala:81)
 INFO ide_ci::program::command: sbtℹ️ [info]   ...

https://github.com/enso-org/enso/actions/runs/9502538791/job/26190767148?pr=10272#step:7:2676