[Test] Fix S3BlobStoreContainerTests.testNumberOfMultiparts()

This commit is contained in:
Tanguy Leroux 2017-11-10 15:45:20 +01:00
parent a45f2bd225
commit f6c2ea0f7d

View File

@ -394,7 +394,7 @@ public class S3BlobStoreContainerTests extends ESBlobStoreContainerTestCase {
public void testNumberOfMultiparts() {
final ByteSizeUnit unit = randomFrom(ByteSizeUnit.BYTES, ByteSizeUnit.KB, ByteSizeUnit.MB, ByteSizeUnit.GB);
final long size = unit.toBytes(randomIntBetween(1, 10));
final long size = unit.toBytes(randomIntBetween(2, 1000));
final int factor = randomIntBetween(2, 10);
// Fits in 1 empty part