Skip to content

Commit 9724244

Browse files
Increase PC timeout (#18824)
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.
2 parents bb82d4c + db5af08 commit 9724244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presentation-compiler/test/dotty/tools/pc/base/BasePCSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ abstract class BasePCSuite extends PcAssertions:
5454
.newInstance("", myclasspath.asJava, scalacOpts.asJava)
5555

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

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

0 commit comments

Comments
 (0)