make test less evil

This commit is contained in:
Mike McCandless 2016-03-07 08:38:38 -05:00
parent dd04b61739
commit 5429356fc4
1 changed files with 2 additions and 2 deletions

View File

@ -351,12 +351,12 @@ public class TestPointQueries extends LuceneTestCase {
@Nightly @Nightly
public void testRandomLongsBig() throws Exception { public void testRandomLongsBig() throws Exception {
doTestRandomLongs(200000); doTestRandomLongs(100000);
} }
private void doTestRandomLongs(int count) throws Exception { private void doTestRandomLongs(int count) throws Exception {
int numValues = atLeast(count); int numValues = TestUtil.nextInt(random(), count, count*2);
if (VERBOSE) { if (VERBOSE) {
System.out.println("TEST: numValues=" + numValues); System.out.println("TEST: numValues=" + numValues);