From 6c7a44ccd9c6cf6beb6ef188e5139aefea71efaf Mon Sep 17 00:00:00 2001 From: David Pilato Date: Fri, 29 Apr 2016 15:02:04 +0200 Subject: [PATCH] Fix test in mapper attachments plugin --- .../mapper/attachments/MultifieldAttachmentMapperTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/mapper-attachments/src/test/java/org/elasticsearch/mapper/attachments/MultifieldAttachmentMapperTests.java b/plugins/mapper-attachments/src/test/java/org/elasticsearch/mapper/attachments/MultifieldAttachmentMapperTests.java index 2dc10814866..f701c3282cc 100644 --- a/plugins/mapper-attachments/src/test/java/org/elasticsearch/mapper/attachments/MultifieldAttachmentMapperTests.java +++ b/plugins/mapper-attachments/src/test/java/org/elasticsearch/mapper/attachments/MultifieldAttachmentMapperTests.java @@ -151,7 +151,6 @@ public class MultifieldAttachmentMapperTests extends AttachmentUnitTestCase { String forcedContentType = randomAsciiOfLength(20); String bytes = Base64.encodeBytes(originalText.getBytes(StandardCharsets.ISO_8859_1)); - threadPool = new ThreadPool("testing-only"); MapperService mapperService = MapperTestUtils.newMapperService(createTempDir(), Settings.builder().put(AttachmentMapper.INDEX_ATTACHMENT_DETECT_LANGUAGE_SETTING.getKey(), true).build(),