Skip to content

Commit 5971959

Browse files
committed
Add extra timeout for Bloop in parallel processes tests & reduce number of processes to 6
1 parent c2c9fff commit 5971959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/integration/src/test/scala/scala/cli/integration/RunTestDefinitions.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -2322,7 +2322,7 @@ abstract class RunTestDefinitions
23222322
os.proc(TestUtil.cli, "bloop", "exit", "--power")
23232323
.call(cwd = root)
23242324
val processes: Seq[(SubProcess, Int)] =
2325-
(0 to 8).map { i =>
2325+
(0 to 5).map { i =>
23262326
os.proc(
23272327
TestUtil.cli,
23282328
"run",
@@ -2332,7 +2332,7 @@ abstract class RunTestDefinitions
23322332
"iteration",
23332333
i.toString
23342334
)
2335-
.spawn(cwd = root)
2335+
.spawn(cwd = root, env = Map("SCALA_CLI_EXTRA_TIMEOUT" -> "120 seconds"))
23362336
}.zipWithIndex
23372337
processes.foreach { case (p, _) => p.waitFor() }
23382338
processes.foreach { case (p, _) => expect(p.exitCode == 0) }

0 commit comments

Comments
 (0)