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:
Robert Muir 2011-07-20 17:44:17 +00:00
parent 236d751d03
commit a54eccd951
2 changed files with 5 additions and 3 deletions

View File

@ -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);
if (VERBOSE) {
ci.setInfoStream(System.out);
}
ci.checkIndex();
dir.close();
}

View File

@ -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...");
}
}