LUCENE-2118: add verbosity to this test so when it fails again we see more detail

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@890064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-12-13 15:13:37 +00:00
parent e98e9dd23c
commit dcc66dfe2b
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ public class TestIndexWriterMergePolicy extends LuceneTestCase {
numSegments++;
} else {
if (upperBound * mergeFactor <= maxMergeDocs) {
assertTrue("maxMergeDocs=" + maxMergeDocs + "; numSegments=" + numSegments + "; upperBound=" + upperBound + "; mergeFactor=" + mergeFactor, numSegments < mergeFactor);
assertTrue("maxMergeDocs=" + maxMergeDocs + "; numSegments=" + numSegments + "; upperBound=" + upperBound + "; mergeFactor=" + mergeFactor + "; segs=" + writer.segString(), numSegments < mergeFactor);
}
do {