Re-enable accounting breaker check in InternalTestCluster (#38131)
Relates to #30290 The intent for this is to see whether this failure still happens, and if so, provide more up-to-date logs for analysis.
This commit is contained in:
parent
fb6a176caf
commit
f19fdcd491
|
@ -2424,10 +2424,9 @@ public final class InternalTestCluster extends TestCluster {
|
||||||
final CircuitBreakerService breakerService = getInstanceFromNode(CircuitBreakerService.class, nodeAndClient.node);
|
final CircuitBreakerService breakerService = getInstanceFromNode(CircuitBreakerService.class, nodeAndClient.node);
|
||||||
CircuitBreaker fdBreaker = breakerService.getBreaker(CircuitBreaker.FIELDDATA);
|
CircuitBreaker fdBreaker = breakerService.getBreaker(CircuitBreaker.FIELDDATA);
|
||||||
assertThat("Fielddata breaker not reset to 0 on node: " + name, fdBreaker.getUsed(), equalTo(0L));
|
assertThat("Fielddata breaker not reset to 0 on node: " + name, fdBreaker.getUsed(), equalTo(0L));
|
||||||
// TODO: This is commented out while Lee looks into the failures
|
CircuitBreaker acctBreaker = breakerService.getBreaker(CircuitBreaker.ACCOUNTING);
|
||||||
// See: https://github.com/elastic/elasticsearch/issues/30290
|
assertThat("Accounting breaker not reset to 0 on node: " + name + ", are there still Lucene indices around?",
|
||||||
// CircuitBreaker acctBreaker = breakerService.getBreaker(CircuitBreaker.ACCOUNTING);
|
acctBreaker.getUsed(), equalTo(0L));
|
||||||
// assertThat("Accounting breaker not reset to 0 on node: " + name, acctBreaker.getUsed(), equalTo(0L));
|
|
||||||
// Anything that uses transport or HTTP can increase the
|
// Anything that uses transport or HTTP can increase the
|
||||||
// request breaker (because they use bigarrays), because of
|
// request breaker (because they use bigarrays), because of
|
||||||
// that the breaker can sometimes be incremented from ping
|
// that the breaker can sometimes be incremented from ping
|
||||||
|
|
Loading…
Reference in New Issue