lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1497906 - in /lucene/dev/branches/branch_4x: ./ lucene/ lucene/test-framework/ lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
Date Fri, 28 Jun 2013 20:14:12 GMT
Author: rmuir
Date: Fri Jun 28 20:14:12 2013
New Revision: 1497906

URL: http://svn.apache.org/r1497906
Log:
call these setters in the magical order

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/lucene/   (props changed)
    lucene/dev/branches/branch_4x/lucene/test-framework/   (props changed)
    lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java

Modified: lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java?rev=1497906&r1=1497905&r2=1497906&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/test-framework/src/java/org/apache/lucene/util/_TestUtil.java
Fri Jun 28 20:14:12 2013
@@ -760,8 +760,9 @@ public class _TestUtil {
     }
     MergeScheduler ms = w.getConfig().getMergeScheduler();
     if (ms instanceof ConcurrentMergeScheduler) {
-      ((ConcurrentMergeScheduler) ms).setMaxThreadCount(2);
+      // wtf... shouldnt it be even lower since its 1 by default?!?!
       ((ConcurrentMergeScheduler) ms).setMaxMergeCount(3);
+      ((ConcurrentMergeScheduler) ms).setMaxThreadCount(2);
     }
   }
 



Mime
View raw message