mirror of
https://github.com/versity/versitygw.git
synced 2026-10-22 06:12:39 +00:00
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.
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user