Skip to content

Apache Lucene open-source search software

LUCENE-3840: Disabled thread preallocation until somebody fixes this issue.

Dawid Weiss1ccea6ab0f69
diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
index d453c8b5678..e3d9becc6ab 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/util/LuceneTestCase.java
@@ -1433,7 +1433,8 @@ public abstract class LuceneTestCase extends Assert {
ex = new ThreadPoolExecutor(threads, threads, 0L, TimeUnit.MILLISECONDS,
new LinkedBlockingQueue<Runnable>(),
new NamedThreadFactory("LuceneTestCase"));
- ex.prestartAllCoreThreads();
+ // uncomment to intensify LUCENE-3840
+ // ex.prestartAllCoreThreads();
}
if (ex != null) {
if (VERBOSE) {