Skip to content

Commit

Permalink
improvement: Increate debug start timeout so that we can retry main m…
Browse files Browse the repository at this point in the history
…ethods
  • Loading branch information
tgodzik committed Oct 10, 2024
1 parent 82e4d40 commit f81d76a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package tests.mill

import scala.meta.internal.metals.MetalsServerConfig

import tests.MillBuildLayout
import tests.MillServerInitializer
import tests.debug.BaseBreakpointDapSuite
Expand All @@ -9,4 +11,8 @@ class MillBreakpointDapSuite
"mill-debug-breakpoint",
MillServerInitializer,
MillBuildLayout,
)
) {

override def serverConfig: MetalsServerConfig =
super.serverConfig.copy(debugServerStartTimeout = 360)
}
3 changes: 3 additions & 0 deletions tests/slow/src/test/scala/tests/mill/MillStepDapSuite.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package tests.mill

import scala.meta.internal.metals.BuildInfo
import scala.meta.internal.metals.MetalsServerConfig

import tests.MillBuildLayout
import tests.MillServerInitializer
Expand All @@ -16,4 +17,6 @@ class MillStepDapSuite
// otherwise we get both Scala 2.12 and 2.13 dependencies, which is more tricky for the tests
override def scalaVersion: String = BuildInfo.scala212

override def serverConfig: MetalsServerConfig =
super.serverConfig.copy(debugServerStartTimeout = 360)
}

0 comments on commit f81d76a

Please sign in to comment.