Remove unnecessary log level setting in upgrade test.

This commit is contained in:
Ryan Ernst 2014-10-16 12:59:05 -07:00
parent f6c915f834
commit ef8ac139aa
1 changed files with 1 additions and 7 deletions

View File

@ -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;