Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase memory limit of test-runner
Browse files Browse the repository at this point in the history
Signed-off-by: André Silva <andre15andre@hotmail.com>
andre15silva committed Aug 25, 2021
1 parent c41b9b8 commit 8def263
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nopol/pom.xml
Original file line number Diff line number Diff line change
@@ -279,7 +279,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
<configuration>
<argLine>${argLine}</argLine>
<argLine>-Xms2048m -Xmx2048m</argLine>
</configuration>
</plugin>
<plugin>
Original file line number Diff line number Diff line change
@@ -54,6 +54,7 @@ private void runFlacoco(NopolContext nopolContext, Metric metric) {
config.setJacocoIncludes(
model.getAllTypes().stream().map(CtTypeInformation::getQualifiedName).collect(Collectors.toSet()));
config.setComplianceLevel(nopolContext.getComplianceLevel());
config.setTestRunnerJVMArgs("-Xms2048m -Xmx2048m");
config.setTestRunnerVerbose(true);

// Set tests

0 comments on commit 8def263

Please sign in to comment.