RESOLVED - issue BATCH-1439: Fix test tests

This commit is contained in:
dsyer
2009-11-16 09:57:06 +00:00
parent 84b488ff13
commit 566a7f9890

View File

@@ -211,7 +211,7 @@ public abstract class AbstractJobTests implements ApplicationContextAware {
* @return JobExecution
*/
public JobExecution launchStep(String stepName, JobParameters jobParameters, ExecutionContext jobExecutionContext) {
Step step = this.job.getStep(stepName);
Step step = this.job.getStep(job.getName()+"."+stepName);
if (step == null) {
throw new IllegalStateException("No Step found with name: [" + stepName + "]");
}