mirror of https://github.com/apache/lucene.git
silence tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1148865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
236d751d03
commit
a54eccd951
|
@ -70,14 +70,16 @@ public class Test2BPostings extends LuceneTestCase {
|
|||
final int numDocs = (Integer.MAX_VALUE / 26) + 1;
|
||||
for (int i = 0; i < numDocs; i++) {
|
||||
w.addDocument(doc);
|
||||
if (i % 100000 == 0) {
|
||||
if (VERBOSE && i % 100000 == 0) {
|
||||
System.out.println(i + " of " + numDocs + "...");
|
||||
}
|
||||
}
|
||||
w.optimize();
|
||||
w.close();
|
||||
CheckIndex ci = new CheckIndex(dir);
|
||||
ci.setInfoStream(System.out);
|
||||
if (VERBOSE) {
|
||||
ci.setInfoStream(System.out);
|
||||
}
|
||||
ci.checkIndex();
|
||||
dir.close();
|
||||
}
|
||||
|
|
|
@ -1057,7 +1057,7 @@ public class TestFSTs extends LuceneTestCase {
|
|||
}
|
||||
builder.add(term, outputs.get(output));
|
||||
ord++;
|
||||
if (ord % 100000 == 0 && LuceneTestCase.TEST_NIGHTLY) {
|
||||
if (VERBOSE && ord % 100000 == 0 && LuceneTestCase.TEST_NIGHTLY) {
|
||||
System.out.println(ord + " terms...");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue