From 6e0d0feca0813c71d452526cff5d937b53331f62 Mon Sep 17 00:00:00 2001 From: Nhat Nguyen Date: Fri, 4 May 2018 13:44:18 -0400 Subject: [PATCH] Enable MockHttpTransport in ShardChangsIT CCR side of #29601 --- .../test/java/org/elasticsearch/xpack/ccr/ShardChangesIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/ShardChangesIT.java b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/ShardChangesIT.java index 7940eef6b9d..998ea1d4d9c 100644 --- a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/ShardChangesIT.java +++ b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/ShardChangesIT.java @@ -22,6 +22,7 @@ import org.elasticsearch.persistent.PersistentTasksCustomMetaData; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.tasks.TaskInfo; import org.elasticsearch.test.ESIntegTestCase; +import org.elasticsearch.test.MockHttpTransport; import org.elasticsearch.test.discovery.TestZenDiscovery; import org.elasticsearch.xpack.ccr.action.FollowExistingIndexAction; import org.elasticsearch.xpack.ccr.action.ShardChangesAction; @@ -61,7 +62,7 @@ public class ShardChangesIT extends ESIntegTestCase { @Override protected Collection> getMockPlugins() { - return Arrays.asList(TestSeedPlugin.class, TestZenDiscovery.TestPlugin.class); + return Arrays.asList(TestSeedPlugin.class, TestZenDiscovery.TestPlugin.class, MockHttpTransport.TestPlugin.class); } @Override