Skip to content

Commit a418138

Browse files
committed
TEST: Enable debug log testValidateFollowingIndexSettings
1 parent 1572b6f commit a418138

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/ShardChangesIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import org.elasticsearch.tasks.TaskInfo;
3737
import org.elasticsearch.test.ESIntegTestCase;
3838
import org.elasticsearch.test.discovery.TestZenDiscovery;
39+
import org.elasticsearch.test.junit.annotations.TestLogging;
3940
import org.elasticsearch.xpack.ccr.action.CreateAndFollowIndexAction;
4041
import org.elasticsearch.xpack.ccr.action.FollowIndexAction;
4142
import org.elasticsearch.xpack.ccr.action.ShardChangesAction;
@@ -430,6 +431,7 @@ public void testFollowNonExistentIndex() throws Exception {
430431
expectThrows(IllegalArgumentException.class, () -> client().execute(FollowIndexAction.INSTANCE, followRequest3).actionGet());
431432
}
432433

434+
@TestLogging("_root:DEBUG")
433435
public void testValidateFollowingIndexSettings() throws Exception {
434436
assertAcked(client().admin().indices().prepareCreate("test-leader")
435437
.setSettings(Settings.builder().put(IndexSettings.INDEX_SOFT_DELETES_SETTING.getKey(), true)));

0 commit comments

Comments
 (0)