File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 - name : Unit & Integration Test (Windows)
7171 continue-on-error : false
7272 run : |
73- mvn -DghActionsIT -Dnot-shadeDep -D"failsafe.excludedGroups"="net.snowflake.ingest.IcebergIT" verify --batch-mode
73+ # First attempt with dependency analysis
74+ mvn -DghActionsIT -Dnot-shadeDep -D"failsafe.excludedGroups"="net.snowflake.ingest.IcebergIT" -U verify --batch-mode || (
75+ # If first attempt fails, retry without dependency analysis
76+ echo "First attempt failed, retrying without dependency analysis..."
77+ mvn -DghActionsIT -Dnot-shadeDep -D"failsafe.excludedGroups"="net.snowflake.ingest.IcebergIT" -Dmaven.dependency.analysis.skip=true -U verify --batch-mode
78+ )
7479 build-iceberg :
7580 name : Build & Test Streaming Iceberg - JDK ${{ matrix.java }}, Cloud ${{ matrix.snowflake_cloud }}
7681 runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 1+ build-windows :
2+ name : Build & Test - Windows, JDK ${{ matrix.java }}, Cloud ${{ matrix.snowflake_cloud }}
3+ runs-on : windows-2022
4+ strategy :
5+ fail-fast : false
6+ matrix :
7+ java : [ 8 ]
8+ snowflake_cloud : [ 'AWS', 'AZURE', 'GCP' ]
9+ steps :
10+ - name : Checkout Code
11+ uses : actions/checkout@v2
12+ - name : Install Java ${{ matrix.java }}
13+ uses : actions/setup-java@v4
14+ with :
15+ distribution : temurin
16+ java-version : ${{ matrix.java }}
17+ cache : maven
18+ cache-dependency-path : ' **/pom.xml'
19+ - name : Decrypt profile.json for Cloud ${{ matrix.snowflake_cloud }} on Windows Powershell
20+ env :
21+ DECRYPTION_PASSPHRASE : ${{ secrets.PROFILE_JSON_DECRYPT_PASSPHRASE }}
22+ shell : pwsh
23+ run : |
24+ ./scripts/decrypt_secret_windows.ps1 -SnowflakeDeployment '${{ matrix.snowflake_cloud }}'
25+ - name : Unit & Integration Test (Windows)
26+ continue-on-error : false
27+ env :
28+ MAVEN_OPTS : >-
29+ -Dmaven.wagon.http.pool=false
30+ -Dmaven.wagon.http.retryHandler.count=3
31+ -Dmaven.wagon.http.retryHandler.requestSentEnabled=true
32+ -Dmaven.wagon.rto=60000
33+ -Dmaven.wagon.connectTimeout=30000
34+ -Dhttp.tcp.nodelay=true
35+ -Dhttp.keepAlive=false
36+ run : |
37+ mvn -DghActionsIT -Dnot-shadeDep -D"failsafe.excludedGroups"="net.snowflake.ingest.IcebergIT" verify --batch-mode --no-transfer-progress -Dhttp.socketTimeout=60000
You can’t perform that action at this time.
0 commit comments