TEST: reduce blob size #testExecuteMultipartUpload
If a large blob size and small buffer size are picked, this test causes out of memory. https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/1061/
This commit is contained in:
parent
54b6885844
commit
3c865d6d04
|
@ -199,7 +199,7 @@ public class S3BlobStoreContainerTests extends ESBlobStoreContainerTestCase {
|
|||
IntStream.of(randomIntBetween(1, 5)).forEach(value -> blobPath.add("path_" + value));
|
||||
}
|
||||
|
||||
final long blobSize = ByteSizeUnit.GB.toBytes(randomIntBetween(1, 1024));
|
||||
final long blobSize = ByteSizeUnit.GB.toBytes(randomIntBetween(1, 128));
|
||||
final long bufferSize = ByteSizeUnit.MB.toBytes(randomIntBetween(5, 1024));
|
||||
|
||||
final S3BlobStore blobStore = mock(S3BlobStore.class);
|
||||
|
|
Loading…
Reference in New Issue