assert first.getProperties().get("cache.jdbc.table.drop").equals("true");
}
public void testBuddyReplicationConfig()
{
BuddyReplicationConfig brConfig = syncConfig.getBuddyReplicationConfig();
assert brConfig.isEnabled();
BuddyReplicationConfig.BuddyLocatorConfig locatorConfig = brConfig.getBuddyLocatorConfig();
assert "org.jboss.cache.buddyreplication.NextMemberBuddyLocator".equals(locatorConfig.getBuddyLocatorClass());
assert locatorConfig.getBuddyLocatorProperties().get("numBuddies").equals("1");
assert locatorConfig.getBuddyLocatorProperties().get("ignoreColocatedBuddies").equals("true");
assert brConfig.getBuddyPoolName().equals("myBuddyPoolReplicationGroup");
assert brConfig.getBuddyCommunicationTimeout() == 2000;
assert brConfig.isAutoDataGravitation();
assert brConfig.isDataGravitationRemoveOnFind();
assert brConfig.isDataGravitationSearchBackupTrees();
}