mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-16 16:56:04 +01:00
refactor: add test-with-server targets to all S3 test directories
- Add test-with-server target to acl, basic, delete, etag Makefiles - Simplify test-with-server to use TestMain-based server auto-management - Update tagging, cors, filer_group, retention, remote_cache, sse Makefiles - Add TEST_PATTERN support for CI/CD parameterized testing - Remove complex manual server management from test-with-server - All targets now delegate to TestMain for consistent, simplified server lifecycle - Backward compatible with existing make targets for manual testing
This commit is contained in:
1 parent
40f30e6629
commit
ee0e08a32d
13 files changed
+186
-66
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# Makefile for SeaweedFS S3 API versioning tests
|
||||
# Tests auto-manage server via TestMain using weed mini
|
||||
|
||||
.PHONY: test test-quick test-stress test-external clean check-deps build
|
||||
.PHONY: test test-quick test-stress test-external test-with-server clean check-deps build
|
||||
|
||||
# Build SeaweedFS binary if not exists
|
||||
build:
|
||||
@@ -34,6 +34,9 @@ test-external: check-deps
|
||||
@echo "Running tests against external server (USE_EXTERNAL_SERVER=true)..."
|
||||
@USE_EXTERNAL_SERVER=true go test -v -timeout=15m ./...
|
||||
|
||||
# Run tests with auto-managed server (alias to test for CI/CD)
|
||||
test-with-server: test
|
||||
|
||||
# Clean up test artifacts
|
||||
clean:
|
||||
@echo "Cleaning up test artifacts..."
|
||||
|
||||
Reference in new issue
Block a user