super.setup();
TroveUtils utils = new TroveUtils(api);
for (String zone : api.getConfiguredZones()) {
// create instances
List<Instance> instanceList = Lists.newArrayList();
Instance first = utils.getWorkingInstance(zone, "first_database_testing_" + zone, "1", 1);
Instance second = utils.getWorkingInstance(zone, "second_database_testing_" + zone, "1", 1);
instanceList.add(first);
instanceList.add(second);
instancesToDelete.put(zone, instanceList);
DatabaseApi databaseApiFirst = api.getDatabaseApiForZoneAndInstance(zone, first.getId());
DatabaseApi databaseApiSecond = api.getDatabaseApiForZoneAndInstance(zone, second.getId());
databaseApiFirst.create("livetest_db1");
databaseApiFirst.create("livetest_db2");
databaseApiSecond.create("livetest_db3");
}
}