Skip to content

Commit c077f8c

Browse files
committed
Increase test logging for testSyncedFlushSkipOutOfSyncReplicas
Relates to #43086
1 parent 309bd69 commit c077f8c

File tree

1 file changed

+2
-0
lines changed
  • server/src/test/java/org/elasticsearch/indices/flush

1 file changed

+2
-0
lines changed

server/src/test/java/org/elasticsearch/indices/flush/FlushIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
import org.elasticsearch.index.shard.ShardId;
5959
import org.elasticsearch.indices.IndicesService;
6060
import org.elasticsearch.test.ESIntegTestCase;
61+
import org.elasticsearch.test.junit.annotations.TestLogging;
6162

6263
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
6364
import static org.hamcrest.Matchers.containsString;
@@ -279,6 +280,7 @@ private void indexDoc(Engine engine, String id) throws IOException {
279280
assertThat(indexResult.getFailure(), nullValue());
280281
}
281282

283+
@TestLogging("_root:TRACE")
282284
public void testSyncedFlushSkipOutOfSyncReplicas() throws Exception {
283285
internalCluster().ensureAtLeastNumDataNodes(between(2, 3));
284286
final int numberOfReplicas = internalCluster().numDataNodes() - 1;

0 commit comments

Comments
 (0)