From a63f4d3678f61f554c267647f10e4770e77ba101 Mon Sep 17 00:00:00 2001 From: jaymode Date: Mon, 31 Aug 2015 09:50:22 -0400 Subject: [PATCH] suppress the LocalTransport for all Shield tests Original commit: elastic/x-pack-elasticsearch@6c0b840643edbf34fb2b216c094578712e4f4a2b --- .../test/java/org/elasticsearch/test/ShieldIntegTestCase.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shield/src/test/java/org/elasticsearch/test/ShieldIntegTestCase.java b/shield/src/test/java/org/elasticsearch/test/ShieldIntegTestCase.java index 5e821941831..659c3ff644d 100644 --- a/shield/src/test/java/org/elasticsearch/test/ShieldIntegTestCase.java +++ b/shield/src/test/java/org/elasticsearch/test/ShieldIntegTestCase.java @@ -22,6 +22,7 @@ import org.elasticsearch.plugins.PluginInfo; import org.elasticsearch.shield.ShieldPlugin; import org.elasticsearch.shield.audit.index.IndexAuditTrail; import org.elasticsearch.shield.authc.support.SecuredString; +import org.elasticsearch.test.ESIntegTestCase.SuppressLocalMode; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; @@ -42,6 +43,7 @@ import static org.hamcrest.CoreMatchers.is; * meaning that all subclasses that don't specify a different scope will share the same cluster with shield installed. * @see org.elasticsearch.test.ShieldSettingsSource */ +@SuppressLocalMode public abstract class ShieldIntegTestCase extends ESIntegTestCase { private static ShieldSettingsSource SHIELD_DEFAULT_SETTINGS;