From f5825b86e631905f1108f72ae9466f2bc42119b9 Mon Sep 17 00:00:00 2001 From: javanna Date: Fri, 3 Jun 2016 16:56:29 +0200 Subject: [PATCH] [TEST] restore needed LogManager.reset to prevent logging to sysout --- .../org/elasticsearch/client/sniff/SnifferBuilderTests.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client-sniffer/src/test/java/org/elasticsearch/client/sniff/SnifferBuilderTests.java b/client-sniffer/src/test/java/org/elasticsearch/client/sniff/SnifferBuilderTests.java index ff3cad34bfa..868c5788120 100644 --- a/client-sniffer/src/test/java/org/elasticsearch/client/sniff/SnifferBuilderTests.java +++ b/client-sniffer/src/test/java/org/elasticsearch/client/sniff/SnifferBuilderTests.java @@ -26,9 +26,14 @@ import org.apache.lucene.util.LuceneTestCase; import org.elasticsearch.client.RestClient; import java.util.Arrays; +import java.util.logging.LogManager; public class SnifferBuilderTests extends LuceneTestCase { + static { + LogManager.getLogManager().reset(); + } + public void testBuild() throws Exception { try {