From 0e53268bf25c30cf7e68a47f42ffcaa1e237692b Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Sun, 9 Nov 2014 21:17:57 +0000 Subject: [PATCH] Test: Don't force networking mode. By default use local transport to increase testing speed. Also Zen discovery is required for plugin tests otherwise Guice errors occur (so far unclear to me what is causing this). Original commit: elastic/x-pack-elasticsearch@0de574c12f4ddcb57d0f9d9b71dbf0466a522b29 --- .../java/org/elasticsearch/alerts/AbstractAlertingTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/alerts/AbstractAlertingTests.java b/src/test/java/org/elasticsearch/alerts/AbstractAlertingTests.java index 5a38a3c2dd9..a3c5b8866bd 100644 --- a/src/test/java/org/elasticsearch/alerts/AbstractAlertingTests.java +++ b/src/test/java/org/elasticsearch/alerts/AbstractAlertingTests.java @@ -53,7 +53,7 @@ public abstract class AbstractAlertingTests extends ElasticsearchIntegrationTest .put(super.nodeSettings(nodeOrdinal)) .put("scroll.size", randomIntBetween(1, 100)) .put("plugin.types", AlertsPlugin.class.getName()) - .put("node.mode", "network") + .put("discovery.type", "zen") .build(); }