mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-18 20:18:27 +02:00
Complete S3 integration test modernization
- Implement TestMain-based auto server management for all 13 S3 test suites - Fix import paths to use full module names instead of relative imports - Update Makefiles to use correct build targets and binary detection - Enhance testutil with improved binary discovery and credential handling - Fix test session creation to use explicit AWS credentials - Validate infrastructure with successful test execution - Update documentation with implementation details and usage instructions All S3 test suites now support: - make test-with-server: Auto-managed server lifecycle - make test-external: Use existing server (for CI/CD) - Consistent build and dependency checking - Proper error handling and logging
This commit is contained in:
1 parent
d762f8d58e
commit
ef1d703054
20 files changed
+117
-91
No files matched your search
@@ -5,12 +5,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"../testutil"
|
||||
)
|
||||
|
||||
var testServer *testutil.Server
|
||||
|
||||
// TestMain sets up and tears down the test environment using weed mini
|
||||
"github.com/seaweedfs/seaweedfs/test/s3/testutil"
|
||||
func TestMain(m *testing.M) {
|
||||
var exitCode int
|
||||
|
||||
|
||||
Reference in new issue
Block a user