Skip to content

Commit

Permalink
SNOW-1333078: Fetch plugin-dependencies at the beginning of the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dprzybysz committed Apr 18, 2024
1 parent 43c78b7 commit 4dfba3c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci/container/test_component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,14 @@ python3 $THIS_DIR/hang_webserver.py 12345&
IFS=','
read -ra CATEGORY <<< "$JDBC_TEST_CATEGORY"

# Avoid connection timeout
# Avoid connection timeouts
export MAVEN_OPTS="$MAVEN_OPTS -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=120"

cd $SOURCE_ROOT

# Avoid connection timeout on plugin dependency fetch or fail-fast when dependency cannot be fetched
mvn --batch-mode --show-version dependency:resolve-plugins

for c in "${CATEGORY[@]}"; do
c=$(echo $c | sed 's/ *$//g')
if [[ "$is_old_driver" == "true" ]]; then
Expand Down

0 comments on commit 4dfba3c

Please sign in to comment.