[TEST] Add more logging to allocation decision

This commit is contained in:
Simon Willnauer 2015-06-04 12:29:17 +02:00
parent 171687d207
commit a522ddb4ac

@ -31,6 +31,7 @@ import org.elasticsearch.discovery.zen.elect.ElectMasterService;
import org.elasticsearch.index.query.QueryBuilders;
import org.elasticsearch.test.ElasticsearchIntegrationTest;
import org.elasticsearch.test.ElasticsearchIntegrationTest.ClusterScope;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.junit.Test;
import java.util.concurrent.ExecutionException;
@ -163,6 +164,7 @@ public class MinimumMasterNodesTests extends ElasticsearchIntegrationTest {
}
@Test @Slow
@TestLogging("cluster.routing.allocation.allocator:TRACE")
public void multipleNodesShutdownNonMasterNodes() throws Exception {
Settings settings = settingsBuilder()
.put("discovery.type", "zen")