kopia lustrzana https://github.com/gaul/s3proxy
Ensure that testBigMultipartUpload meets min size
Previously this failed on Backblaze B2.pull/210/head
rodzic
802b8510cf
commit
65e65bc214
|
@ -455,8 +455,8 @@ public final class AwsSdkTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBigMultipartUpload() throws Exception {
|
public void testBigMultipartUpload() throws Exception {
|
||||||
String key = "multipart-upload";
|
String key = "multipart-upload";
|
||||||
int size = 10_000_000;
|
long partSize = context.getBlobStore().getMinimumMultipartPartSize();
|
||||||
int partSize = 5 * 1024 * 1024;
|
long size = partSize + 1;
|
||||||
ByteSource byteSource = TestUtils.randomByteSource().slice(0, size);
|
ByteSource byteSource = TestUtils.randomByteSource().slice(0, size);
|
||||||
|
|
||||||
InitiateMultipartUploadRequest initRequest =
|
InitiateMultipartUploadRequest initRequest =
|
||||||
|
|
Ładowanie…
Reference in New Issue