Add trace logging to CircuitBreakerServiceIT.testParentChecking.
This commit is contained in:
parent
2d81750a13
commit
2127db27a3
|
@ -48,6 +48,7 @@ import org.elasticsearch.rest.RestStatus;
|
||||||
import org.elasticsearch.search.sort.SortOrder;
|
import org.elasticsearch.search.sort.SortOrder;
|
||||||
import org.elasticsearch.test.ESIntegTestCase;
|
import org.elasticsearch.test.ESIntegTestCase;
|
||||||
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
|
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
|
||||||
|
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
|
||||||
|
@ -217,6 +218,7 @@ public class CircuitBreakerServiceIT extends ESIntegTestCase {
|
||||||
* Test that a breaker correctly redistributes to a different breaker, in
|
* Test that a breaker correctly redistributes to a different breaker, in
|
||||||
* this case, the fielddata breaker borrows space from the request breaker
|
* this case, the fielddata breaker borrows space from the request breaker
|
||||||
*/
|
*/
|
||||||
|
@TestLogging("_root:DEBUG,org.elasticsearch.action.search:TRACE")
|
||||||
public void testParentChecking() throws Exception {
|
public void testParentChecking() throws Exception {
|
||||||
if (noopBreakerUsed()) {
|
if (noopBreakerUsed()) {
|
||||||
logger.info("--> noop breakers used, skipping test");
|
logger.info("--> noop breakers used, skipping test");
|
||||||
|
|
Loading…
Reference in New Issue