From 40cbe85612f2a3fba68c00a2177706a053c74326 Mon Sep 17 00:00:00 2001 From: Ed Espino Date: Tue, 30 Jun 2026 13:28:12 -0700 Subject: [PATCH] test(azure): widen multipart test parts above min size; tighten isQuotedEtag --- tests/integration/UploadPart.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/UploadPart.go b/tests/integration/UploadPart.go index 2a1a8e04..1314387e 100644 --- a/tests/integration/UploadPart.go +++ b/tests/integration/UploadPart.go @@ -505,7 +505,7 @@ func UploadPart_success(s *S3Conf) error { // isQuotedEtag reports whether an ETag is a non-empty double-quoted string, // as required by the S3 contract (e.g. "\"abc\""). func isQuotedEtag(etag string) bool { - return len(etag) >= 2 && + return len(etag) >= 3 && strings.HasPrefix(etag, "\"") && strings.HasSuffix(etag, "\"") } @@ -525,7 +525,7 @@ func UploadPart_etag_quoting_consistency(s *S3Conf) error { return err } - parts, _, err := uploadParts(s3client, 15*1024*1024, 3, bucket, obj, *out.UploadId) + parts, _, err := uploadParts(s3client, 18*1024*1024, 3, bucket, obj, *out.UploadId) if err != nil { return err }