call these setters in the magical order

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2013-06-28 20:13:46 +00:00
parent 6235e48896
commit 81068009aa
1 changed files with 2 additions and 1 deletions

View File

@ -770,8 +770,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);
}
}