From 6c290d22c18a55c5f955fcc6f1fedd68b8562e60 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Wed, 27 Jan 2016 11:55:15 +0100 Subject: [PATCH] Fix renamed constant Original commit: elastic/x-pack-elasticsearch@709cd849b2187f78c3c30ad967d011cdaa57560a --- .../watcher/transport/action/stats/SlowWatchStatsTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/transport/action/stats/SlowWatchStatsTests.java b/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/transport/action/stats/SlowWatchStatsTests.java index 7542aea5905..b22eaa506a7 100644 --- a/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/transport/action/stats/SlowWatchStatsTests.java +++ b/elasticsearch/x-pack/watcher/src/test/java/org/elasticsearch/watcher/transport/action/stats/SlowWatchStatsTests.java @@ -55,7 +55,7 @@ public class SlowWatchStatsTests extends AbstractWatcherIntegrationTestCase { return Settings.builder() .put(super.nodeSettings(nodeOrdinal)) // So it is predictable how many slow watches we need to add to accumulate pending watches - .put(EsExecutors.PROCESSORS, "1") + .put(EsExecutors.PROCESSORS_SETTING.getKey(), "1") .build(); }