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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
test: use BaseEndpoint for the checksum test client
Chris Lub77c42ff327d
diff --git a/test/s3/checksum/issue11401_repro_test.go b/test/s3/checksum/issue11401_repro_test.goindex 79f0a87429..bd2635daf6 100644--- a/test/s3/checksum/issue11401_repro_test.go+++ b/test/s3/checksum/issue11401_repro_test.go@@ -27,18 +27,11 @@ func newWhenRequiredChecksumClient(t *testing.T) *s3.Client {config.WithRegion(defaultConfig.Region),config.WithCredentialsProvider(credentials.NewStaticCredentialsProvider(defaultConfig.AccessKey, defaultConfig.SecretKey, "")),- config.WithEndpointResolverWithOptions(aws.EndpointResolverWithOptionsFunc(- func(service, region string, _ ...interface{}) (aws.Endpoint, error) {- return aws.Endpoint{- URL: defaultConfig.Endpoint,- SigningRegion: defaultConfig.Region,- HostnameImmutable: true,- }, nil- })),)require.NoError(t, err)return s3.NewFromConfig(cfg, func(o *s3.Options) {o.UsePathStyle = true+ o.BaseEndpoint = aws.String(defaultConfig.Endpoint)o.RequestChecksumCalculation = aws.RequestChecksumCalculationWhenRequired})}