From 158bb23887733fd652435167b809d57f00fecc3d Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 16 Mar 2018 15:35:40 +0000 Subject: [PATCH] Remove usages of obsolete settings (#29087) The settings `indices.recovery.concurrent_streams` and `indices.recovery.concurrent_small_file_streams` were removed in f5e4cd46164630e09f308ed78c512eea8bda8a05. This commit removes their last traces from the codebase. --- .../indices/recovery/RecoverySourceHandlerTests.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/server/src/test/java/org/elasticsearch/indices/recovery/RecoverySourceHandlerTests.java b/server/src/test/java/org/elasticsearch/indices/recovery/RecoverySourceHandlerTests.java index 68d789d91c2..d1dbaf6bc89 100644 --- a/server/src/test/java/org/elasticsearch/indices/recovery/RecoverySourceHandlerTests.java +++ b/server/src/test/java/org/elasticsearch/indices/recovery/RecoverySourceHandlerTests.java @@ -332,10 +332,8 @@ public class RecoverySourceHandlerTests extends ESTestCase { } - public void testHandleExceptinoOnSendSendFiles() throws Throwable { - Settings settings = Settings.builder().put("indices.recovery.concurrent_streams", 1). - put("indices.recovery.concurrent_small_file_streams", 1).build(); - final RecoverySettings recoverySettings = new RecoverySettings(settings, service); + public void testHandleExceptionOnSendFiles() throws Throwable { + final RecoverySettings recoverySettings = new RecoverySettings(Settings.EMPTY, service); final StartRecoveryRequest request = getStartRecoveryRequest(); Path tempDir = createTempDir(); Store store = newStore(tempDir, false);