OPEN - issue BATCH-378: RepeatListener is confusing and too generic to use for 'intercepting' a step
http://jira.springframework.org/browse/BATCH-378 Remove unnecessary listener implementations and migrate some functionality to samples. In the process discovered that tasklet steps cannot be stopped.
This commit is contained in:
@@ -64,7 +64,8 @@ public class JobExecutionTests extends TestCase {
|
||||
public void testIsRunningWithStoppedExecution() {
|
||||
assertTrue(execution.isRunning());
|
||||
execution.stop();
|
||||
assertFalse(execution.isRunning());
|
||||
assertTrue(execution.isRunning());
|
||||
assertTrue(execution.isStopping());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user