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:
Nhat Nguyen 2017-12-20 12:43:05 -05:00
parent 54b6885844
commit 3c865d6d04
1 changed files with 1 additions and 1 deletions

View File

@ -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);