lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r890064 - /lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
Date Sun, 13 Dec 2009 15:13:38 GMT
Author: mikemccand
Date: Sun Dec 13 15:13:37 2009
New Revision: 890064

URL: http://svn.apache.org/viewvc?rev=890064&view=rev
Log:
LUCENE-2118: add verbosity to this test so when it fails again we see more detail

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java?rev=890064&r1=890063&r2=890064&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java Sun
Dec 13 15:13:37 2009
@@ -231,7 +231,7 @@
         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 {



Mime
View raw message