From 4391594e4cf4fb2e2d81a71230f988e15b79a0b0 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Fri, 8 Apr 2016 18:37:05 +0200 Subject: [PATCH] Use Settings.builder instead of settingsBuilder in ESSmokeClientTestCase. --- .../java/org/elasticsearch/smoketest/ESSmokeClientTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/smoke-test-client/src/test/java/org/elasticsearch/smoketest/ESSmokeClientTestCase.java b/qa/smoke-test-client/src/test/java/org/elasticsearch/smoketest/ESSmokeClientTestCase.java index 7f287f8a58d..9976f072d42 100644 --- a/qa/smoke-test-client/src/test/java/org/elasticsearch/smoketest/ESSmokeClientTestCase.java +++ b/qa/smoke-test-client/src/test/java/org/elasticsearch/smoketest/ESSmokeClientTestCase.java @@ -73,7 +73,7 @@ public abstract class ESSmokeClientTestCase extends LuceneTestCase { protected String index; private static Client startClient(Path tempDir, TransportAddress... transportAddresses) { - Settings clientSettings = Settings.settingsBuilder() + Settings clientSettings = Settings.builder() .put("node.name", "qa_smoke_client_" + counter.getAndIncrement()) .put(InternalSettingsPreparer.IGNORE_SYSTEM_PROPERTIES_SETTING.getKey(), true) // prevents any settings to be replaced by system properties. .put("client.transport.ignore_cluster_name", true)