mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-20 03:13:53 +01:00
test: mount pinned Iceberg jars into the Spark catalog tests (#12757)
* testutil: fetch pinned Maven Central jars with a mirror fallback Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: mount pinned Iceberg jars into the Spark catalog containers Each test started a new Spark container that resolved the Iceberg runtime and AWS bundle through Ivy from Maven Central, so a run downloaded them six times and a single refused request left Spark retrying until the package timed out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: cache the Iceberg jars for the Spark catalog tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * testutil: test the verified jar download Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: bound Maven jar downloads by one deadline shared across retries Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: give each Maven mirror attempt its own timeout within the download budget Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2a0002869
commit
9b94f00325
4 files changed
+242
-8
No files matched your search
@@ -684,6 +684,12 @@ jobs:
|
||||
pull() { for i in 1 2 3; do docker pull "$1" && return 0; sleep 15; done; return 1; }
|
||||
pull apache/spark:3.5.1
|
||||
|
||||
- name: Cache Iceberg jars
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
path: ~/.cache/seaweedfs-test-jars
|
||||
key: iceberg-jars-${{ hashFiles('test/s3tables/catalog_spark/setup_test.go') }}
|
||||
|
||||
- name: Run go mod tidy
|
||||
run: go mod tidy
|
||||
|
||||
|
||||
Reference in new issue
Block a user