From 27546ecb1613b5bbcb28e3331cda3c7a9b739194 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Tue, 17 Feb 2015 14:48:11 +0100 Subject: [PATCH] Tests don't pass if elasticsearch.yml does not contain azure discovery settings For now, we remove forcing discovery settings with `discovery.type: azure`. So a developer who wants to run this test needs to add it in his `elasticsearch.yml` file. Due to #50 (cherry picked from commit 6ac4483) (cherry picked from commit 1a80c4b) --- .../java/org/elasticsearch/azure/itest/AzureSimpleITest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/azure/itest/AzureSimpleITest.java b/src/test/java/org/elasticsearch/azure/itest/AzureSimpleITest.java index a4bb854c986..4d3d79daf8f 100644 --- a/src/test/java/org/elasticsearch/azure/itest/AzureSimpleITest.java +++ b/src/test/java/org/elasticsearch/azure/itest/AzureSimpleITest.java @@ -44,7 +44,9 @@ public class AzureSimpleITest extends AbstractAzureTest { protected Settings nodeSettings(int nodeOrdinal) { return ImmutableSettings.builder() .put(super.nodeSettings(nodeOrdinal)) - .put("discovery.type", "azure") + // For now we let the user who runs tests to define if he wants or not to run discovery tests + // by setting in elasticsearch.yml: discovery.type: azure + // .put("discovery.type", "azure") .build(); }