From ef8ac139aaaf23f582b2997b1f0b5908cfe219eb Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 16 Oct 2014 12:59:05 -0700 Subject: [PATCH] Remove unnecessary log level setting in upgrade test. --- .../rest/action/admin/indices/upgrade/UpgradeTest.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java b/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java index 1ea9a944bb0..05cf4f0484e 100644 --- a/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java +++ b/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java @@ -65,7 +65,6 @@ public class UpgradeTest extends ElasticsearchBackwardsCompatIntegrationTest { } public void testUpgrade() throws Exception { - Loggers.getLogger(UpgradeTest.class).setLevel("DEBUG"); int numIndexes = randomIntBetween(2, 4); String[] indexNames = new String[numIndexes]; @@ -152,12 +151,7 @@ public class UpgradeTest extends ElasticsearchBackwardsCompatIntegrationTest { logSegmentsState(null); assertUpgraded(httpClient, null); } - - @After - void restLogLevel() { - Loggers.getLogger(UpgradeTest.class).setLevel("INFO"); - } - + void logSegmentsState(String index) throws Exception { // double check using the segments api that all segments are actually upgraded IndicesSegmentResponse segsRsp;