Skip to content

Commit

Permalink
Increase PC timeout (#18824)
Browse files Browse the repository at this point in the history
Dotty CI was flaky and could fail because of Presentation Compiler
initialisation timeout.


https://github.com/lampepfl/dotty/actions/runs/6717768764/job/18256242542

https://github.com/lampepfl/dotty/actions/runs/6721566887/job/18267570899

I've doubled it.
  • Loading branch information
nicolasstucki authored Nov 2, 2023
2 parents bb82d4c + db5af08 commit 9724244
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ abstract class BasePCSuite extends PcAssertions:
.newInstance("", myclasspath.asJava, scalacOpts.asJava)

protected def config: PresentationCompilerConfig =
PresentationCompilerConfigImpl().copy(snippetAutoIndent = false, timeoutDelay = if isDebug then 3600 else 5)
PresentationCompilerConfigImpl().copy(snippetAutoIndent = false, timeoutDelay = if isDebug then 3600 else 10)

private def inspectDialect(filename: String, code: String) =
val file = tmp.resolve(filename)
Expand Down

0 comments on commit 9724244

Please sign in to comment.