[TEST] Enable trace logging for translog recovery

This commit is contained in:
Simon Willnauer 2015-03-04 11:48:10 +01:00
parent a5ab49dc70
commit 52d53e658f
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import org.elasticsearch.search.SearchHit;
import org.elasticsearch.search.sort.SortOrder;
import org.elasticsearch.test.ElasticsearchIntegrationTest;
import org.elasticsearch.test.InternalTestCluster;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.junit.Test;
import java.nio.file.Path;
@ -50,6 +51,7 @@ import static org.hamcrest.Matchers.greaterThanOrEqualTo;
public class IndexWithShadowReplicasTests extends ElasticsearchIntegrationTest {
@Test
@TestLogging("index.gateway:TRACE")
public void testIndexWithFewDocuments() throws Exception {
Settings nodeSettings = ImmutableSettings.builder()
.put("node.add_id_to_custom_path", false)