Skip to content

Commit 37e8362

Browse files
authored
Fix test coverage generation (#4213)
* Fix test coverage generation * Keep the JVM_OPTS
1 parent db8d397 commit 37e8362

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
<jackson.version>2.19.2</jackson.version>
6161
<maven.surefire.version>3.5.3</maven.surefire.version>
6262
<junit.version>5.13.3</junit.version>
63+
<!-- Default JVM options for tests -->
64+
<JVM_OPTS></JVM_OPTS>
6365
</properties>
6466

6567
<dependencyManagement>
@@ -270,7 +272,7 @@
270272
<artifactId>maven-surefire-plugin</artifactId>
271273
<version>${maven.surefire.version}</version>
272274
<configuration>
273-
<argLine>${JVM_OPTS}</argLine>
275+
<argLine>@{argLine} ${JVM_OPTS}</argLine>
274276
<systemPropertyVariables>
275277
<redis-hosts>${redis-hosts}</redis-hosts>
276278
</systemPropertyVariables>

0 commit comments

Comments
 (0)