Skip to content

Commit

Permalink
fixing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Nov 15, 2024
1 parent 677458c commit 4170d3d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<java.version>17</java.version>

<EXTRA_TEST_OPTS>--add-opens java.base/java.lang=ALL-UNNAMED</EXTRA_TEST_OPTS>
<EXTRA_TEST_OPTS>--add-opens java.base/java.lang=ALL-UNNAMED</EXTRA_TEST_OPTS> <!-- needed for instrumentating by javassist -->
<surefire.forkCount>1</surefire.forkCount><!-- jacoco not working owtheriwse -->
</properties>

Expand Down Expand Up @@ -528,9 +528,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<!--
<argLine>${EXTRA_TEST_OPTS}</argLine>
-->


<forkCount>${surefire.forkCount}</forkCount>
<systemPropertyVariables>
<projectArtifactId>${project.artifactId}</projectArtifactId>
Expand All @@ -543,7 +542,7 @@
<excludes>
<exclude>**/*ITest.java</exclude>
</excludes>
<argLine>-javaagent:${org.mockito:mockito-core:jar}</argLine>
<argLine>${EXTRA_TEST_OPTS} cd -javaagent:${org.mockito:mockito-core:jar}</argLine>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 4170d3d

Please sign in to comment.