test complete_multipart_upload

This commit is contained in:
weisd
2024-07-12 16:45:31 +08:00
parent a487dcdfa5
commit e8685c977f
6 changed files with 170 additions and 16 deletions
+10 -2
View File
@@ -131,8 +131,16 @@ impl StorageAPI for ECStore {
let reader = PutObjReader::new(StreamingBlob::from(body), content_len);
self.put_object(RUSTFS_META_BUCKET, &file_path, reader, &ObjectOptions { max_parity: true })
.await?;
self.put_object(
RUSTFS_META_BUCKET,
&file_path,
reader,
&ObjectOptions {
max_parity: true,
..Default::default()
},
)
.await?;
// TODO: toObjectErr