Skip to content

Commit

Permalink
Make runtime-testsuite tests run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
jcking committed Dec 20, 2021
1 parent 5d6a782 commit 79afc6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions runtime-testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
<include>**/dart/Test*.java</include>
<include>${antlr.tests.swift}</include>
</includes>
<parallel>all</parallel>
<useUnlimitedThreads>true</useUnlimitedThreads>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public boolean buildProject() {
return true;
}

private synchronized boolean initializeRuntime() {
private static synchronized boolean initializeRuntime() {
// Compile runtime project once per tests session
if (isRuntimeInitialized)
return true;
Expand Down

0 comments on commit 79afc6f

Please sign in to comment.