System.out.flush();
FileFormat format = state.format();
Input input = format.getInput(streamProvider);
try {
DbSetup dbSetup = new DbSetup(jdbcConnection);
dbSetup.setup(state.dbVersion());
Importer.run(connection, input);
dbSetup.upgrade(null);
} finally {
input.close();
}
} catch (Exception e) {
LOG.warn("Failed to setup a database at [ " + dbUrl + "] for method '" + method.getTestMethod().getMethodName() + "'.", e);
}
finally {