From a7877cfb86a6d717b8a0d718ab86e5e37520994a Mon Sep 17 00:00:00 2001 From: friendseeker <66892505+Friendseeker@users.noreply.github.com> Date: Tue, 5 Dec 2023 13:07:46 -0800 Subject: [PATCH] Increase timeout to 10 minutes --- .../src/test/scala/sbt/internal/inc/IncHandler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/zinc-scripted/src/test/scala/sbt/internal/inc/IncHandler.scala b/internal/zinc-scripted/src/test/scala/sbt/internal/inc/IncHandler.scala index 7d3e205e5..f0d81cf27 100644 --- a/internal/zinc-scripted/src/test/scala/sbt/internal/inc/IncHandler.scala +++ b/internal/zinc-scripted/src/test/scala/sbt/internal/inc/IncHandler.scala @@ -175,7 +175,7 @@ class IncHandler(directory: Path, cacheDir: Path, scriptedLog: ManagedLogger, co run: IncState => Future[Unit] ): IncState = { val instance = i.getOrElse(onNewIncState(p)) - try Await.result(run(instance), 60.seconds) + try Await.result(run(instance), 600.seconds) catch { case NonFatal(e) => instance.compilations.clear()