Skip to content

Commit 830425a

Browse files
committed
Merge pull request scala#4023 from retronym/topic/time-me-out
Increase REPL startup timeout to avoid test failures
2 parents bea10f2 + a9f4981 commit 830425a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/repl/scala/tools/nsc/interpreter/ILoop.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ class ILoop(in0: Option[BufferedReader], protected val out: JPrintWriter)
428428
// return false if repl should exit
429429
def processLine(line: String): Boolean = {
430430
import scala.concurrent.duration._
431-
Await.ready(globalFuture, 60.seconds)
431+
Await.ready(globalFuture, 10.minutes) // Long timeout here to avoid test failures under heavy load.
432432

433433
if (line eq null) {
434434
// SI-4563: this means the console was properly interrupted (Ctrl+D usually)

0 commit comments

Comments
 (0)