From 25ec56b45182858c06a807a7ef51842e6ca7fb0f Mon Sep 17 00:00:00 2001 From: DualFroz Date: Mon, 5 Oct 2026 10:03:26 +0200 Subject: [PATCH] test: use the upload's own key as key-marker in the truncation test An upload-id-marker has to belong to the key-marker itself, S3 answers key-marker=ba with an upload of bar with 400 Invalid uploadId marker. --- tests/integration/ListMultipartUploads.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/ListMultipartUploads.go b/tests/integration/ListMultipartUploads.go index 45d63b9..18aa159 100644 --- a/tests/integration/ListMultipartUploads.go +++ b/tests/integration/ListMultipartUploads.go @@ -566,7 +566,7 @@ func ListMultipartUploads_upload_id_marker_truncated(s *S3Conf) error { ctx, cancel := context.WithTimeout(context.Background(), shortTimeout) out, err := s3client.ListMultipartUploads(ctx, &s3.ListMultipartUploadsInput{ Bucket: &bucket, - KeyMarker: getPtr("ba"), + KeyMarker: uploads[0].Key, UploadIdMarker: uploads[0].UploadId, MaxUploads: &test.maxUploads, })