Browse Source
Complete S3 integration test modernization
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 loggingfeature/modernize-s3-tests
20 changed files with 117 additions and 91 deletions
-
6test/s3/acl/Makefile
-
4test/s3/acl/s3_test_main.go
-
6test/s3/basic/Makefile
-
70test/s3/basic/basic_test.go
-
13test/s3/basic/s3_test_main_test.go
-
1test/s3/basic/weed-test.pid
-
7test/s3/copying/s3_test_main.go
-
7test/s3/cors/s3_test_main.go
-
6test/s3/delete/Makefile
-
7test/s3/delete/s3_test_main.go
-
7test/s3/etag/s3_test_main.go
-
7test/s3/filer_group/s3_test_main.go
-
4test/s3/iam/s3_test_main.go
-
7test/s3/remote_cache/s3_test_main.go
-
7test/s3/retention/s3_test_main.go
-
7test/s3/sse/s3_test_main.go
-
10test/s3/tagging/s3_test_main.go
-
24test/s3/testutil/server.go
-
6test/s3/versioning/Makefile
-
2test/s3/versioning/s3_test_main.go
@ -0,0 +1 @@ |
|||
79189 |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue