lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r835806 - /lucene/java/trunk/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
Date Fri, 13 Nov 2009 10:56:48 GMT
Author: mikemccand
Date: Fri Nov 13 10:56:48 2009
New Revision: 835806

URL: http://svn.apache.org/viewvc?rev=835806&view=rev
Log:
improve test verbosity

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=835806&r1=835805&r2=835806&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 Fri
Nov 13 10:56:48 2009
@@ -231,7 +231,7 @@
         numSegments++;
       } else {
         if (upperBound * mergeFactor <= maxMergeDocs) {
-          assertTrue("numSegments=" + numSegments + " vs mergeFactor=" + mergeFactor, numSegments
< mergeFactor);
+          assertTrue("maxMergeDocs=" + maxMergeDocs + "; numSegments=" + numSegments + ";
upperBound=" + upperBound + "; mergeFactor=" + mergeFactor, numSegments < mergeFactor);
         }
 
         do {



Mime
View raw message