Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-jf committed Nov 7, 2024
1 parent 16de9b3 commit 4763fa6
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions ci/container/test_component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -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=' '

0 comments on commit 4763fa6

Please sign in to comment.