mirror of https://github.com/apache/lucene.git
make test less evil
This commit is contained in:
parent
dd04b61739
commit
5429356fc4
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue