@Test
public void testProducerRegistrations() throws Exception {
+ LOG.info("testProducerRegistrations starting");
initEmptyDatastores();
leaderTestKit.waitForMembersUp("member-2");
}
shardRegistration.close().toCompletableFuture().get();
+
+ LOG.info("testProducerRegistrations ending");
}
@Test
public void testWriteIntoMultipleShards() throws Exception {
+ LOG.info("testWriteIntoMultipleShards starting");
initEmptyDatastores();
leaderTestKit.waitForMembersUp("member-2");
tx.submit().checkedGet();
shardRegistration.close().toCompletableFuture().get();
+
+ LOG.info("testWriteIntoMultipleShards ending");
}
@Test
public void testMultipleShardRegistrations() throws Exception {
+ LOG.info("testMultipleShardRegistrations starting");
initEmptyDatastores();
final DistributedShardRegistration reg1 = waitOnAsyncTask(leaderShardFactory.createDistributedShard(
ClusterUtils.getCleanShardName(TestModel.JUNK_PATH));
LOG.debug("All follower shards gone");
+ LOG.info("testMultipleShardRegistrations ending");
}
@Test
public void testMultipleRegistrationsAtOnePrefix() throws Exception {
+ LOG.info("testMultipleRegistrationsAtOnePrefix starting");
initEmptyDatastores();
for (int i = 0; i < 10; i++) {
ClusterUtils.getCleanShardName(TestModel.TEST_PATH));
}
+ LOG.info("testMultipleRegistrationsAtOnePrefix ending");
}
}