From 47f0e6e8f4fc522c61ffe5693fbe482a9433a9dd Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Tue, 22 Mar 2016 10:12:03 +0100 Subject: [PATCH] [TEST] Disable InternalClusterInfoService in messy tests, it sends IndicesStatsRequest periodically which messes with the messy test --- .../org/elasticsearch/messy/tests/IndicesRequestTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests/IndicesRequestTests.java b/modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests/IndicesRequestTests.java index f21dd83e426..29bd7f47498 100644 --- a/modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests/IndicesRequestTests.java +++ b/modules/lang-groovy/src/test/java/org/elasticsearch/messy/tests/IndicesRequestTests.java @@ -142,6 +142,9 @@ public class IndicesRequestTests extends ESIntegTestCase { protected Settings nodeSettings(int ordinal) { // must set this independently of the plugin so it overrides MockTransportService return Settings.builder().put(super.nodeSettings(ordinal)) + // InternalClusterInfoService sends IndicesStatsRequest periodically which messes with this test + // this setting disables it... + .put("cluster.routing.allocation.disk.threshold_enabled", false) .put(NetworkModule.TRANSPORT_SERVICE_TYPE_KEY, "intercepting").build(); }