use of org.neo4j.management.BranchedStore in project neo4j by neo4j.
the class HaBeanIT method shouldAccessHaBeans.
@Test
public void shouldAccessHaBeans() throws Throwable {
ManagedCluster cluster = clusterRule.startCluster();
// High Availability bean
HighAvailability ha = ha(cluster.getMaster());
assertNotNull("could not get ha bean", ha);
assertMasterInformation(ha);
assertMasterAndSlaveInformation(ha.getInstancesInCluster());
for (ClusterMemberInfo info : ha.getInstancesInCluster()) {
assertTrue(info.isAlive());
assertTrue(info.isAvailable());
}
// Branched data bean
BranchedStore bs = beans(cluster.getMaster()).getBranchedStoreBean();
assertNotNull("could not get branched store bean", bs);
}
Aggregations