Browse Source

Remove unnecessary log level setting in upgrade test.

Ryan Ernst 11 years ago
parent
commit
ef8ac139aa

+ 1 - 7
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;