Search in sources :

Example 1 with OOBAuditor

use of org.apache.geode.cache.util.AutoBalancer.OOBAuditor in project geode by apache.

the class AutoBalancerJUnitTest method testNoCacheError.

@Test(expected = IllegalStateException.class)
public void testNoCacheError() {
    AutoBalancer balancer = new AutoBalancer();
    OOBAuditor auditor = balancer.getOOBAuditor();
    auditor.execute();
}
Also used : SizeBasedOOBAuditor(org.apache.geode.cache.util.AutoBalancer.SizeBasedOOBAuditor) OOBAuditor(org.apache.geode.cache.util.AutoBalancer.OOBAuditor) Test(org.junit.Test) IntegrationTest(org.apache.geode.test.junit.categories.IntegrationTest)

Aggregations

OOBAuditor (org.apache.geode.cache.util.AutoBalancer.OOBAuditor)1 SizeBasedOOBAuditor (org.apache.geode.cache.util.AutoBalancer.SizeBasedOOBAuditor)1 IntegrationTest (org.apache.geode.test.junit.categories.IntegrationTest)1 Test (org.junit.Test)1