[TEST] Add additional logging to memoryCircuitBreaker test

This commit is contained in:
Lee Hinman 2014-11-26 14:57:31 +01:00
parent d9dfad0e9b
commit 5169339308
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ import org.elasticsearch.rest.RestStatus;
import org.elasticsearch.search.sort.SortOrder;
import org.elasticsearch.test.ElasticsearchIntegrationTest;
import org.elasticsearch.test.ElasticsearchIntegrationTest.ClusterScope;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@ -103,7 +104,7 @@ public class CircuitBreakerServiceTests extends ElasticsearchIntegrationTest {
}
@Test
//@TestLogging("indices.breaker:TRACE,index.fielddata:TRACE,common.breaker:TRACE")
@TestLogging("indices.breaker:TRACE,index.fielddata:TRACE,common.breaker:TRACE")
public void testMemoryBreaker() throws Exception {
if (noopBreakerUsed()) {
logger.info("--> noop breakers used, skipping test");