diff options
author | Boaz Leskes <b.leskes@gmail.com> | 2017-06-18 22:40:13 +0200 |
---|---|---|
committer | Boaz Leskes <b.leskes@gmail.com> | 2017-06-18 22:40:13 +0200 |
commit | 7291aba8ae0d0f511f3e4e97b7487158877d3552 (patch) | |
tree | e9fce9e0b3909e1817d1c56862fdb8b313e262f5 /core/src/test/java/org/elasticsearch/action/support | |
parent | 4c28e781ddcdc7489d2dec25e0a3488253bff2bf (diff) |
enable debug logging for testMasterFailoverDuringIndexingWithMappingChanges
Diffstat (limited to 'core/src/test/java/org/elasticsearch/action/support')
-rw-r--r-- | core/src/test/java/org/elasticsearch/action/support/master/IndexingMasterFailoverIT.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/test/java/org/elasticsearch/action/support/master/IndexingMasterFailoverIT.java b/core/src/test/java/org/elasticsearch/action/support/master/IndexingMasterFailoverIT.java index b35aac5f95..7a18ca4cff 100644 --- a/core/src/test/java/org/elasticsearch/action/support/master/IndexingMasterFailoverIT.java +++ b/core/src/test/java/org/elasticsearch/action/support/master/IndexingMasterFailoverIT.java @@ -31,6 +31,7 @@ import org.elasticsearch.test.discovery.TestZenDiscovery; import org.elasticsearch.test.disruption.NetworkDisruption; import org.elasticsearch.test.disruption.NetworkDisruption.NetworkDisconnect; import org.elasticsearch.test.disruption.NetworkDisruption.TwoPartitions; +import org.elasticsearch.test.junit.annotations.TestLogging; import org.elasticsearch.test.transport.MockTransportService; import java.util.Arrays; @@ -64,6 +65,7 @@ public class IndexingMasterFailoverIT extends ESIntegTestCase { * If the master node is being disrupted or if it cannot commit cluster state changes, it needs to retry within timeout limits. * This retry logic is implemented in TransportMasterNodeAction and tested by the following master failover scenario. */ + @TestLogging("_root:DEBUG") public void testMasterFailoverDuringIndexingWithMappingChanges() throws Throwable { logger.info("--> start 4 nodes, 3 master, 1 data"); |