mirror of https://github.com/apache/lucene.git
scale up random testing @ jenkins/night
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1441304 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ad04c854ec
commit
a95815c362
|
@ -1091,24 +1091,39 @@ public abstract class BaseDocValuesFormatTestCase extends LuceneTestCase {
|
|||
}
|
||||
|
||||
public void testBooleanNumericsVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
doTestNumericsVsStoredFields(0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
public void testByteNumericsVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
doTestNumericsVsStoredFields(Byte.MIN_VALUE, Byte.MAX_VALUE);
|
||||
}
|
||||
}
|
||||
|
||||
public void testShortNumericsVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
doTestNumericsVsStoredFields(Short.MIN_VALUE, Short.MAX_VALUE);
|
||||
}
|
||||
}
|
||||
|
||||
public void testIntNumericsVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
doTestNumericsVsStoredFields(Integer.MIN_VALUE, Integer.MAX_VALUE);
|
||||
}
|
||||
}
|
||||
|
||||
public void testLongNumericsVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
doTestNumericsVsStoredFields(Long.MIN_VALUE, Long.MAX_VALUE);
|
||||
}
|
||||
}
|
||||
|
||||
private void doTestBinaryVsStoredFields(int minLength, int maxLength) throws Exception {
|
||||
Directory dir = newDirectory();
|
||||
|
@ -1167,13 +1182,19 @@ public abstract class BaseDocValuesFormatTestCase extends LuceneTestCase {
|
|||
}
|
||||
|
||||
public void testBinaryFixedLengthVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
int fixedLength = _TestUtil.nextInt(random(), 1, 10);
|
||||
doTestBinaryVsStoredFields(fixedLength, fixedLength);
|
||||
}
|
||||
}
|
||||
|
||||
public void testBinaryVariableLengthVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
doTestBinaryVsStoredFields(1, 10);
|
||||
}
|
||||
}
|
||||
|
||||
private void doTestSortedVsStoredFields(int minLength, int maxLength) throws Exception {
|
||||
Directory dir = newDirectory();
|
||||
|
@ -1232,11 +1253,17 @@ public abstract class BaseDocValuesFormatTestCase extends LuceneTestCase {
|
|||
}
|
||||
|
||||
public void testSortedFixedLengthVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
int fixedLength = _TestUtil.nextInt(random(), 1, 10);
|
||||
doTestSortedVsStoredFields(fixedLength, fixedLength);
|
||||
}
|
||||
}
|
||||
|
||||
public void testSortedVariableLengthVsStoredFields() throws Exception {
|
||||
int numIterations = atLeast(1);
|
||||
for (int i = 0; i < numIterations; i++) {
|
||||
doTestSortedVsStoredFields(1, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue