mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 21:05:23 +00:00
[Test] Fix S3BlobStoreContainerTests.testNumberOfMultiparts()
This commit is contained in:
parent
a45f2bd225
commit
f6c2ea0f7d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user