Skip to content

Commit

Permalink
Add extra timeout for Bloop in parallel processes tests & reduce numb…
Browse files Browse the repository at this point in the history
…er of processes to 6
  • Loading branch information
Gedochao committed Dec 31, 2024
1 parent c2c9fff commit 5971959
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2322,7 +2322,7 @@ abstract class RunTestDefinitions
os.proc(TestUtil.cli, "bloop", "exit", "--power")
.call(cwd = root)
val processes: Seq[(SubProcess, Int)] =
(0 to 8).map { i =>
(0 to 5).map { i =>
os.proc(
TestUtil.cli,
"run",
Expand All @@ -2332,7 +2332,7 @@ abstract class RunTestDefinitions
"iteration",
i.toString
)
.spawn(cwd = root)
.spawn(cwd = root, env = Map("SCALA_CLI_EXTRA_TIMEOUT" -> "120 seconds"))
}.zipWithIndex
processes.foreach { case (p, _) => p.waitFor() }
processes.foreach { case (p, _) => expect(p.exitCode == 0) }
Expand Down

0 comments on commit 5971959

Please sign in to comment.