From 4763fa650c641eaec13ed768c8e8b3b5c29dad08 Mon Sep 17 00:00:00 2001 From: Jelena Furundzic Date: Wed, 6 Nov 2024 21:33:08 -0800 Subject: [PATCH] test --- ci/container/test_component.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/ci/container/test_component.sh b/ci/container/test_component.sh index 458d35fce..7bc5b29e5 100755 --- a/ci/container/test_component.sh +++ b/ci/container/test_component.sh @@ -81,19 +81,7 @@ $MVNW_EXE --batch-mode --show-version dependency:go-offline for c in "${CATEGORY[@]}"; do c=$(echo $c | sed 's/ *$//g') - if [[ "$is_old_driver" == "true" ]]; then - pushd TestOnly >& /dev/null - JDBC_VERSION=$($MVNW_EXE org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version --batch-mode | grep -v "[INFO]") - echo "[INFO] Run JDBC $JDBC_VERSION tests" - $MVNW_EXE -DjenkinsIT \ - -Djava.io.tmpdir=$WORKSPACE \ - -Djacoco.skip.instrument=false \ - -DtestCategory=net.snowflake.client.category.$c \ - -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ - verify \ - --batch-mode --show-version - popd >& /dev/null - elif [[ "$c" == "TestCategoryFips" ]]; then + if [[ "$c" == "TestCategoryFips" ]]; then pushd FIPS >& /dev/null echo "[INFO] Run Fips tests" $MVNW_EXE -DjenkinsIT \ @@ -105,7 +93,6 @@ for c in "${CATEGORY[@]}"; do --batch-mode --show-version popd >& /dev/null else - pushd TestOnly >& /dev/null echo "[INFO] Run $c tests" $MVNW_EXE -DjenkinsIT \ -Djava.io.tmpdir=$WORKSPACE \ @@ -115,7 +102,6 @@ for c in "${CATEGORY[@]}"; do -Dnot-self-contained-jar $ADDITIONAL_MAVEN_PROFILE \ verify \ --batch-mode --show-version - popd >& /dev/null fi done IFS=' '