mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-29 03:18:26 +00:00
[TEST] Add more logging to allocation decision
This commit is contained in:
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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user