testCorruptTranslogTruncation: add logging

This commit is contained in:
Boaz Leskes 2017-12-06 14:46:39 +01:00
parent caea6b70fa
commit e0e698bc26
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.test.InternalTestCluster;
import org.elasticsearch.test.engine.MockEngineSupport;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.elasticsearch.test.transport.MockTransportService;
import java.io.IOException;
@ -84,6 +85,7 @@ public class TruncateTranslogIT extends ESIntegTestCase {
return Arrays.asList(MockTransportService.TestPlugin.class, MockEngineFactoryPlugin.class);
}
@TestLogging("org.elasticsearch.index.engine:TRACE,org.elasticsearch.index.translog:TRACE")
public void testCorruptTranslogTruncation() throws Exception {
internalCluster().startNodes(2, Settings.EMPTY);