diff --git a/ci/container/test_component.sh b/ci/container/test_component.sh index 525951f9b..9bfe33f6c 100755 --- a/ci/container/test_component.sh +++ b/ci/container/test_component.sh @@ -83,7 +83,7 @@ if [[ "$is_old_driver" == "true" ]]; then $MVNW_EXE -DjenkinsIT \ -Djava.io.tmpdir=$WORKSPACE \ -Djacoco.skip.instrument=false \ - -Dtest="$JDBC_TEST_CATEGORY" \ + -DintegrationTestSuites="$JDBC_TEST_CATEGORY" \ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ verify \ --batch-mode --show-version @@ -94,7 +94,7 @@ elif [[ "$JDBC_TEST_CATEGORY" == "FipsTestSuite" ]]; then $MVNW_EXE -DjenkinsIT \ -Djava.io.tmpdir=$WORKSPACE \ -Djacoco.skip.instrument=false \ - -Dtest=UnitTestSuite,FipsTestSuite \ + -DintegrationTestSuites=FipsTestSuite \ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ -Dnot-self-contained-jar \ verify \ @@ -105,7 +105,7 @@ else $MVNW_EXE -DjenkinsIT \ -Djava.io.tmpdir=$WORKSPACE \ -Djacoco.skip.instrument=false \ - -Dtest=UnitTestSuite,"$JDBC_TEST_CATEGORY" \ + -DintegrationTestSuites="$JDBC_TEST_CATEGORY" \ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ -Dnot-self-contained-jar $ADDITIONAL_MAVEN_PROFILE \ verify \ diff --git a/ci/test_windows.bat b/ci/test_windows.bat index 047ff209d..f293a530d 100644 --- a/ci/test_windows.bat +++ b/ci/test_windows.bat @@ -117,6 +117,7 @@ if "%JDBC_TEST_CATEGORY%"=="FipsTestSuite" ( cmd /c %MVNW_EXE% -B -DjenkinsIT ^ -Djava.io.tmpdir=%GITHUB_WORKSPACE% ^ -Djacoco.skip.instrument=false ^ + -DintegrationTestSuites=FipsTestSuite ^ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn ^ -Dnot-self-contained-jar ^ verify ^ @@ -136,7 +137,7 @@ if "%JDBC_TEST_CATEGORY%"=="FipsTestSuite" ( cmd /c %MVNW_EXE% -B -DjenkinsIT ^ -Djava.io.tmpdir=%GITHUB_WORKSPACE% ^ -Djacoco.skip.instrument=false ^ - -Dtest=UnitTestSuite,"%JDBC_TEST_CATEGORY%" ^ + -DintegrationTestSuites="%JDBC_TEST_CATEGORY%" ^ -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn ^ -Dnot-self-contained-jar %ADDITIONAL_MAVEN_PROFILE% ^ verify ^ diff --git a/parent-pom.xml b/parent-pom.xml index 82eef326f..b6ba72ba0 100644 --- a/parent-pom.xml +++ b/parent-pom.xml @@ -79,6 +79,7 @@ net.snowflake.client.jdbc.internal 2.0.13 5.1.4 + UnitTestSuite 2.4.1 1.9 3.6.3 diff --git a/pom.xml b/pom.xml index 70e0b303b..3d849dbb4 100644 --- a/pom.xml +++ b/pom.xml @@ -1180,10 +1180,7 @@ org.apache.maven.plugins maven-surefire-plugin - - net.snowflake.client.log.JDK14Logger - ${basedir}/src/test/resources/logging.properties - + UnitTestSuite @@ -1198,23 +1195,33 @@ test -