[TEST] Increase logging level in testDelayShards()
This commit is contained in:
parent
e5f1eb5dc9
commit
e6e517a7a4
|
@ -29,6 +29,7 @@ import org.elasticsearch.cluster.routing.UnassignedInfo;
|
||||||
import org.elasticsearch.cluster.routing.allocation.decider.Decision;
|
import org.elasticsearch.cluster.routing.allocation.decider.Decision;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
import org.elasticsearch.test.ESIntegTestCase;
|
import org.elasticsearch.test.ESIntegTestCase;
|
||||||
|
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -43,6 +44,7 @@ import static org.hamcrest.Matchers.greaterThan;
|
||||||
*/
|
*/
|
||||||
@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST, numDataNodes = 0)
|
@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.TEST, numDataNodes = 0)
|
||||||
public final class ClusterAllocationExplainIT extends ESIntegTestCase {
|
public final class ClusterAllocationExplainIT extends ESIntegTestCase {
|
||||||
|
@TestLogging("_root:DEBUG")
|
||||||
public void testDelayShards() throws Exception {
|
public void testDelayShards() throws Exception {
|
||||||
logger.info("--> starting 3 nodes");
|
logger.info("--> starting 3 nodes");
|
||||||
List<String> nodes = internalCluster().startNodesAsync(3).get();
|
List<String> nodes = internalCluster().startNodesAsync(3).get();
|
||||||
|
|
Loading…
Reference in New Issue