public void testDaemonSync() throws Exception {
Hive hive = loadHive();
Hive passiveSync = loadHive();
ArrayList<Observer> observers = new ArrayList<Observer>();
observers.add(passiveSync);
HiveSyncDaemon daemon = new HiveSyncDaemon(getConnectString(getHiveDatabaseName()), observers);
daemon.detectChanges();
hive.addNode(createNode(getHiveDatabaseName()));
daemon.detectChanges();
// nodeReport(passiveSync, hive);
Assert.assertNotNull(passiveSync.getNode(createNode(getHiveDatabaseName()).getName()));
}