From 3bc1494d3860ccc055b4cc36861d60a5c2ddde69 Mon Sep 17 00:00:00 2001 From: Mayya Sharipova Date: Fri, 23 Aug 2019 10:30:36 -0400 Subject: [PATCH] Correct warning testScalingThreadPoolConfiguration Correct expected warning Closes #45907 --- .../org/elasticsearch/threadpool/ScalingThreadPoolTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java b/server/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java index 3b297f9db6e..5f4c15bc30c 100644 --- a/server/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java +++ b/server/src/test/java/org/elasticsearch/threadpool/ScalingThreadPoolTests.java @@ -99,7 +99,7 @@ public class ScalingThreadPoolTests extends ESThreadPoolTestCase { }); if (processorsUsed > availableProcessors) { - assertWarnings("setting node.processors to value [" + processorsUsed + + assertWarnings("setting [node.processors] to value [" + processorsUsed + "] which is more than available processors [" + availableProcessors + "] is deprecated"); } }