Map<String, String> config = stringMap(
CONFIG_KEY_HA_MACHINE_ID, "" + i,
CONFIG_KEY_HA_SERVER, "localhost:" + (6666+i),
CONFIG_KEY_HA_ZOO_KEEPER_SERVERS, zk.getConnectionString(),
ENABLE_ONLINE_BACKUP, "port=" + (4444+i) );
GraphDatabaseService instance = new HighlyAvailableGraphDatabase( storeDir, config );
instances.add( instance );
}
// Really doesn't matter which instance
representation = createSomeData( instances.get( 1 ) );