tustvold commented on code in PR #561:
URL:
https://github.com/apache/arrow-rs-object-store/pull/561#discussion_r2692145222
##########
src/aws/mod.rs:
##########
@@ -583,6 +626,63 @@ mod tests {
store.delete(&dst).await.unwrap();
}
+ #[tokio::test]
+ async fn large_file_copy_multipart() {
+ maybe_skip_integration!();
+
+ let bucket = "test-bucket-for-multipart-copy-large";
+ let store = AmazonS3Builder::from_env()
+ .with_bucket_name(bucket)
+ .with_multipart_copy_threshold(5 * 1024 * 1024)
+ .with_multipart_copy_part_size(5 * 1024 * 1024)
+ .build()
+ .unwrap();
+
+ let mut payload = BytesMut::zeroed(10 * 1024 * 1024);
+ rand::fill(&mut payload[..]);
Review Comment:
👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]