diff --git a/core/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java b/core/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java index a73ffdb2129..d956cc96abf 100644 --- a/core/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java +++ b/core/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java @@ -42,7 +42,7 @@ public class ScalingThreadPoolTests extends ESThreadPoolTestCase { final int min; if (randomBoolean()) { - min = randomIntBetween(1, 8); + min = randomIntBetween(0, 8); builder.put("threadpool." + threadPoolName + ".min", min); } else { min = "generic".equals(threadPoolName) ? 4 : 1; // the defaults