RESOLVED - issue BATCH-1336: Add -restart and -next options to CommandLineJobRunner
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
|
||||
package org.springframework.batch.sample;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.junit.Assert;
|
||||
@@ -87,6 +89,7 @@ public abstract class AbstractBatchLauncherTests implements ApplicationContextAw
|
||||
public void testLaunchJob() throws Exception {
|
||||
jobExecution = getLauncher().run(job, jobParameters);
|
||||
Assert.assertEquals(BatchStatus.COMPLETED, jobExecution.getStatus());
|
||||
assertEquals(BatchStatus.COMPLETED, jobExecution.getStatus());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user