From 2e2cce5db51c15f5e8b9be7b7569a955ade09433 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Wed, 3 Jan 2018 12:56:14 -0800 Subject: [PATCH] Fix test usage of PluginInfo in xpack Original commit: elastic/x-pack-elasticsearch@2c81ed40ff728fa0341dfcffed61b13d7ca1bbeb --- .../collector/cluster/ClusterStatsMonitoringDocTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java b/plugin/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java index 7c105f4f719..05475142372 100644 --- a/plugin/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java +++ b/plugin/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java @@ -52,6 +52,7 @@ import org.junit.Before; import java.io.IOException; import java.nio.charset.StandardCharsets; +import java.util.Collections; import java.util.List; import java.util.Map; @@ -271,7 +272,8 @@ public class ClusterStatsMonitoringDocTests extends BaseMonitoringDocTestCase