RESOLVED - BATCH-825: Modify JobLauncher contract to not throw exception on job failure.
removed onInterrupt from JobExecutionListener
This commit is contained in:
@@ -334,7 +334,7 @@ public class SimpleJobTests extends TestCase {
|
||||
|
||||
JobExecutionListener listener = createMock(JobExecutionListener.class);
|
||||
listener.beforeJob(jobExecution);
|
||||
listener.onInterrupt(jobExecution);
|
||||
listener.afterJob(jobExecution);
|
||||
replay(listener);
|
||||
|
||||
job.setJobExecutionListeners(new JobExecutionListener[] { listener });
|
||||
|
||||
Reference in New Issue
Block a user