From dcc66dfe2b0ecc7f6ec15d1c3c44a65b125939ec Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sun, 13 Dec 2009 15:13:37 +0000 Subject: [PATCH] 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 --- .../org/apache/lucene/index/TestIndexWriterMergePolicy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java b/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java index f64c9595714..2be383a007e 100755 --- a/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java +++ b/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java @@ -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 {