Skip to content

Commit 7775fee

Browse files
committed
fixed unit & integration coverage report
1 parent c8a61a1 commit 7775fee

File tree

3 files changed

+26
-48
lines changed

3 files changed

+26
-48
lines changed

client-v2/src/test/java/com/clickhouse/client/api/data_formats/internal/SerializerUtilsTests.java

Lines changed: 0 additions & 5 deletions
This file was deleted.

clickhouse-jdbc/src/test/java/com/clickhouse/client/api/sql/SQLUtilsTest.java renamed to client-v2/src/test/java/com/clickhouse/client/api/sql/SQLUtilsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.clickhouse.client.api.sql;
22

3-
import com.clickhouse.jdbc.internal.SqlParser;
43
import org.testng.annotations.DataProvider;
54
import org.testng.annotations.Test;
65

pom.xml

Lines changed: 26 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -713,37 +713,38 @@
713713
</execution>
714714
<execution>
715715
<id>jacoco-prepare-it</id>
716+
<phase>pre-integration-test</phase>
716717
<goals>
717718
<goal>prepare-agent</goal>
718719
</goals>
719720
<configuration>
720721
<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
721722
</configuration>
722723
</execution>
723-
<execution>
724-
<id>jacoco-ut</id>
725-
<goals>
726-
<goal>prepare-agent</goal>
727-
</goals>
728-
<configuration>
729-
<skip>${skipUTs}</skip>
730-
<destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
731-
<propertyName>surefireArgLine</propertyName>
732-
<append>true</append>
733-
</configuration>
734-
</execution>
735-
<execution>
736-
<id>jacoco-it</id>
737-
<goals>
738-
<goal>prepare-agent-integration</goal>
739-
</goals>
740-
<configuration>
741-
<skip>${skipITs}</skip>
742-
<destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
743-
<propertyName>failsafeArgLine</propertyName>
744-
<append>true</append>
745-
</configuration>
746-
</execution>
724+
<!-- <execution>-->
725+
<!-- <id>jacoco-ut</id>-->
726+
<!-- <goals>-->
727+
<!-- <goal>prepare-agent</goal>-->
728+
<!-- </goals>-->
729+
<!-- <configuration>-->
730+
<!-- <skip>${skipUTs}</skip>-->
731+
<!-- <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>-->
732+
<!-- <propertyName>surefireArgLine</propertyName>-->
733+
<!-- <append>true</append>-->
734+
<!-- </configuration>-->
735+
<!-- </execution>-->
736+
<!-- <execution>-->
737+
<!-- <id>jacoco-it</id>-->
738+
<!-- <goals>-->
739+
<!-- <goal>prepare-agent-integration</goal>-->
740+
<!-- </goals>-->
741+
<!-- <configuration>-->
742+
<!-- <skip>${skipITs}</skip>-->
743+
<!-- <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>-->
744+
<!-- <propertyName>failsafeArgLine</propertyName>-->
745+
<!-- <append>true</append>-->
746+
<!-- </configuration>-->
747+
<!-- </execution>-->
747748
<execution>
748749
<id>jacoco-it-report</id>
749750
<phase>post-integration-test</phase>
@@ -757,7 +758,7 @@
757758
</execution>
758759
<execution>
759760
<id>jacoco-ut-report</id>
760-
<phase>prepare-package</phase>
761+
<phase>test</phase>
761762
<goals>
762763
<goal>report</goal>
763764
</goals>
@@ -1025,23 +1026,6 @@
10251026
<publishingServerId>central</publishingServerId>
10261027
</configuration>
10271028
</plugin>
1028-
<!-- <plugin>-->
1029-
<!-- <groupId>org.sonatype.plugins</groupId>-->
1030-
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
1031-
<!-- <executions>-->
1032-
<!-- <execution>-->
1033-
<!-- <id>default-deploy</id>-->
1034-
<!-- <phase>deploy</phase>-->
1035-
<!-- <goals>-->
1036-
<!-- <goal>deploy</goal>-->
1037-
<!-- </goals>-->
1038-
<!-- </execution>-->
1039-
<!-- </executions>-->
1040-
<!-- <configuration>-->
1041-
<!-- <serverId>ossrh</serverId>-->
1042-
<!-- <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>-->
1043-
<!-- </configuration>-->
1044-
<!-- </plugin>-->
10451029
</plugins>
10461030
</build>
10471031
</profile>

0 commit comments

Comments
 (0)