Skip to content

Commit

Permalink
Split jacoco for jUnit tests (#3116)
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko committed May 2, 2024
1 parent 600bde5 commit f7506d0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,10 @@
<version>${maven-surefire-plugin.version}</version>
<configuration>
<systemPropertyVariables>
<launchContainers>false</launchContainers>
<launchContainers>true</launchContainers>
</systemPropertyVariables>
<skipTests>${skipUnitTests}</skipTests>
<argLine>${surefire.jacoco.args}</argLine>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -776,18 +777,22 @@
<exclude>com/iab/openrtb/**</exclude>
<exclude>**/proto/**</exclude>
<exclude>**/model/**</exclude>
<exclude>**/functional/**</exclude>
<exclude>org/prebid/server/spring/config/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>prepare-agent</id>
<id>before-unit-test-execution</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>surefire.jacoco.args</propertyName>
</configuration>
</execution>
<execution>
<id>report</id>
<id>after-unit-test-execution</id>
<goals>
<goal>report</goal>
</goals>
Expand Down Expand Up @@ -905,7 +910,7 @@
<systemPropertyVariables>
<mockserver.version>${mockserver.version}</mockserver.version>
<pbs.version>${project.version}</pbs.version>
<tests.max-container-count>2</tests.max-container-count>
<tests.max-container-count>5</tests.max-container-count>
<tests.fixed-container-ports>false</tests.fixed-container-ports>
</systemPropertyVariables>
</configuration>
Expand Down

0 comments on commit f7506d0

Please sign in to comment.