Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

test: move the s3vectors pytest suite under test/s3vectors (#12230)

Chris Lu74f727d987da
diff --git a/.github/workflows/rust-vector-tests.yml b/.github/workflows/rust-vector-tests.yml
index 0db11314de..8665696222 100644
--- a/.github/workflows/rust-vector-tests.yml
+++ b/.github/workflows/rust-vector-tests.yml
@@ -13,7 +13,7 @@ on:
- 'weed/pb/vector_pb/**'
- 'weed/s3api/**'
- 'weed/command/**'
- - 'test/vectors/**'
+ - 'test/s3vectors/**'
- '.github/workflows/rust-vector-tests.yml'
push:
branches: [ master, main ]
@@ -27,7 +27,7 @@ on:
- 'weed/pb/vector_pb/**'
- 'weed/s3api/**'
- 'weed/command/**'
- - 'test/vectors/**'
+ - 'test/s3vectors/**'
- '.github/workflows/rust-vector-tests.yml'
concurrency:
@@ -135,15 +135,15 @@ jobs:
go test ./weed/s3api/s3vectors -count=1
go test ./weed/command -run 'Vector|Vectors' -count=1
- name: Build integration binaries
- working-directory: test/vectors
+ working-directory: test/s3vectors
run: make build CARGO_PROFILE=dev
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install test dependencies
- run: python -m pip install -r test/vectors/requirements.txt
+ run: python -m pip install -r test/s3vectors/requirements.txt
- name: Run the S3 Vectors integration matrix
- working-directory: test/vectors
+ working-directory: test/s3vectors
run: |
./run_test.sh --basetemp="$RUNNER_TEMP/vector-tests" --junitxml="$RUNNER_TEMP/vector-results.xml"
python - <<'PYTHON'
diff --git a/.gitignore b/.gitignore
index fac1150200..9bce980521 100644
--- a/.gitignore
+++ b/.gitignore
@@ -145,8 +145,8 @@ telemetry/server/telemetry-server
.aider*
/seaweed-volume/docs
__pycache__/
-/test/vectors/weed
-/test/vectors/weed-vector
-/test/vectors/weed-vector-worker
-/test/vectors/weed-volume
+/test/s3vectors/weed
+/test/s3vectors/weed-vector
+/test/s3vectors/weed-vector-worker
+/test/s3vectors/weed-volume
.pytest_cache/
diff --git a/test/vectors/Makefile b/test/s3vectors/Makefile
similarity index 100%
rename from test/vectors/Makefile
rename to test/s3vectors/Makefile
diff --git a/test/vectors/README.md b/test/s3vectors/README.md
similarity index 100%
rename from test/vectors/README.md
rename to test/s3vectors/README.md
diff --git a/test/vectors/conftest.py b/test/s3vectors/conftest.py
similarity index 100%
rename from test/vectors/conftest.py
rename to test/s3vectors/conftest.py
diff --git a/test/vectors/requirements.txt b/test/s3vectors/requirements.txt
similarity index 100%
rename from test/vectors/requirements.txt
rename to test/s3vectors/requirements.txt
diff --git a/test/vectors/run_test.sh b/test/s3vectors/run_test.sh
similarity index 100%
rename from test/vectors/run_test.sh
rename to test/s3vectors/run_test.sh
diff --git a/test/vectors/s3.json b/test/s3vectors/s3.json
similarity index 100%
rename from test/vectors/s3.json
rename to test/s3vectors/s3.json
diff --git a/test/vectors/s3vectors_test.py b/test/s3vectors/s3vectors_test.py
similarity index 100%
rename from test/vectors/s3vectors_test.py
rename to test/s3vectors/s3vectors_test.py