Skip to content

Commit

Permalink
Faster ByteBufferMinMaxOffsetHeapTest (apache#4404)
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-wei authored and leventov committed Jun 15, 2017
1 parent 6edee7f commit 7fe2950
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void testRandom()
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();
Expand Down Expand Up @@ -137,12 +137,12 @@ public void testRandom()
@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();
Expand Down

0 comments on commit 7fe2950

Please sign in to comment.