mirror of https://github.com/apache/lucene.git
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:
parent
e98e9dd23c
commit
dcc66dfe2b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue