Search in sources :

Example 1 with InstanceKiller

use of org.apache.cassandra.distributed.impl.InstanceKiller in project cassandra by apache.

the class FailingRepairTest method cleanupState.

@Before
public void cleanupState() {
    for (int i = 1; i <= CLUSTER.size(); i++) {
        IInvokableInstance inst = CLUSTER.get(i);
        if (inst.isShutdown())
            inst.startup();
        inst.runOnInstance(InstanceKiller::clear);
    }
}
Also used : IInvokableInstance(org.apache.cassandra.distributed.api.IInvokableInstance) InstanceKiller(org.apache.cassandra.distributed.impl.InstanceKiller) Before(org.junit.Before)

Aggregations

IInvokableInstance (org.apache.cassandra.distributed.api.IInvokableInstance)1 InstanceKiller (org.apache.cassandra.distributed.impl.InstanceKiller)1 Before (org.junit.Before)1