flow.getId());
}
private void executePlan(TestExecutionPlan plan) throws IOException {
assert plan != null;
TestDriverContext context = configuration.context;
JobExecutor executor = context.getJobExecutor();
LOG.info("Executing plan: batchId={}, flowId={}, execId={}, args={}, executor={}", new Object[] {
context.getCurrentBatchId(),
context.getCurrentFlowId(),
context.getExecutionId(),
context.getBatchArgs(),
executor.getClass().getName(),
});
try {
runJobFlowCommands(executor, plan.getInitializers());
runJobFlowCommands(executor, plan.getImporters());