Bläddra i källkod

Increase test logging for testSyncedFlushSkipOutOfSyncReplicas

Relates to #43086
Yannick Welsch 6 år sedan
förälder
incheckning
c077f8c3c4
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      server/src/test/java/org/elasticsearch/indices/flush/FlushIT.java

+ 2 - 0
server/src/test/java/org/elasticsearch/indices/flush/FlushIT.java

@@ -58,6 +58,7 @@ import org.elasticsearch.index.shard.IndexShardTestCase;
 import org.elasticsearch.index.shard.ShardId;
 import org.elasticsearch.indices.IndicesService;
 import org.elasticsearch.test.ESIntegTestCase;
+import org.elasticsearch.test.junit.annotations.TestLogging;
 
 import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
 import static org.hamcrest.Matchers.containsString;
@@ -279,6 +280,7 @@ public class FlushIT extends ESIntegTestCase {
         assertThat(indexResult.getFailure(), nullValue());
     }
 
+    @TestLogging("_root:TRACE")
     public void testSyncedFlushSkipOutOfSyncReplicas() throws Exception {
         internalCluster().ensureAtLeastNumDataNodes(between(2, 3));
         final int numberOfReplicas = internalCluster().numDataNodes() - 1;