Configured TRACE logging to RecoveryWhileUnderLoadTests#recoverWhileUnderLoadAllocateBackupsTest
We want to log which shards we are searching on and which shards we are refreshing
This commit is contained in:
parent
7c20603071
commit
4032f1eb44
|
@ -28,6 +28,7 @@ import org.elasticsearch.common.Priority;
|
||||||
import org.elasticsearch.common.collect.MapBuilder;
|
import org.elasticsearch.common.collect.MapBuilder;
|
||||||
import org.elasticsearch.common.logging.ESLogger;
|
import org.elasticsearch.common.logging.ESLogger;
|
||||||
import org.elasticsearch.common.logging.Loggers;
|
import org.elasticsearch.common.logging.Loggers;
|
||||||
|
import org.elasticsearch.junit.annotations.TestLogging;
|
||||||
import org.elasticsearch.test.integration.AbstractSharedClusterTest;
|
import org.elasticsearch.test.integration.AbstractSharedClusterTest;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
@ -49,7 +50,7 @@ public class RecoveryWhileUnderLoadTests extends AbstractSharedClusterTest {
|
||||||
|
|
||||||
private final ESLogger logger = Loggers.getLogger(RecoveryWhileUnderLoadTests.class);
|
private final ESLogger logger = Loggers.getLogger(RecoveryWhileUnderLoadTests.class);
|
||||||
|
|
||||||
@Test
|
@Test @TestLogging("org.elasticsearch.action.search.type:TRACE,org.elasticsearch.action.admin.indices.refresh:TRACE")
|
||||||
@Slow
|
@Slow
|
||||||
public void recoverWhileUnderLoadAllocateBackupsTest() throws Exception {
|
public void recoverWhileUnderLoadAllocateBackupsTest() throws Exception {
|
||||||
logger.info("--> creating test index ...");
|
logger.info("--> creating test index ...");
|
||||||
|
|
Loading…
Reference in New Issue