File tree 2 files changed +5
-1
lines changed
compiler/test/dotty/tools/vulpix
sjs-compiler-tests/test/scala/dotty/tools/dotc 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
57
57
/** Tests should override the checkfiles with the current output */
58
58
def updateCheckFiles : Boolean
59
59
60
+ def testSuiteTimeoutInMinutes : Int = 20
61
+
60
62
/** A test source whose files or directory of files is to be compiled
61
63
* in a specific way defined by the `Test`
62
64
*/
@@ -654,7 +656,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
654
656
655
657
pool.shutdown()
656
658
657
- if (! pool.awaitTermination(20 , TimeUnit .MINUTES )) {
659
+ if (! pool.awaitTermination(testSuiteTimeoutInMinutes , TimeUnit .MINUTES )) {
658
660
val remaining = new ListBuffer [TestSource ]
659
661
filteredSources.lazyZip(eventualResults).foreach { (src, res) =>
660
662
if (! res.isDone)
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ class ScalaJSCompilationTests extends ParallelTesting {
24
24
def testFilter = Properties .testsFilter
25
25
def updateCheckFiles : Boolean = Properties .testsUpdateCheckfile
26
26
27
+ override def testSuiteTimeoutInMinutes = 30 // for the Windows CI
28
+
27
29
// Negative tests ------------------------------------------------------------
28
30
29
31
@ Test def negScalaJS : Unit = {
You can’t perform that action at this time.
0 commit comments