Faster ByteBufferMinMaxOffsetHeapTest (#4404)

This commit is contained in:
Jonathan Wei 2017-06-15 11:14:29 -07:00 committed by Roman Leventov
parent 6edee7f434
commit 7fe295009e
1 changed files with 3 additions and 3 deletions

View File

@ -85,7 +85,7 @@ public class ByteBufferMinMaxOffsetHeapTest
Random rng = new Random(999);
ArrayList<Integer> values = Lists.newArrayList();
for (int i = 0; i < 100000; i++) {
for (int i = 0; i < 10000; i++) {
values.add(rng.nextInt(1000000));
}
ArrayList<Integer> deletedValues = Lists.newArrayList();
@ -137,12 +137,12 @@ public class ByteBufferMinMaxOffsetHeapTest
@Test
public void testRandom2()
{
int limit = 20000;
int limit = 5000;
Random rng = new Random(9999);
ArrayList<Integer> values = Lists.newArrayList();
for (int i = 0; i < 100000; i++) {
for (int i = 0; i < 20000; i++) {
values.add(rng.nextInt(1000000));
}
ArrayList<Integer> deletedValues = Lists.newArrayList();