BATCH-1268: Use System.currentTimeMillis()

This commit is contained in:
dsyer
2009-06-03 15:57:50 +00:00
parent 132e29f37b
commit 001226ea1d
2 changed files with 15 additions and 22 deletions

View File

@@ -70,6 +70,7 @@ public class SystemCommandTaskletIntegrationTests {
public void testExecuteFailure() throws Exception {
String command = "java org.springframework.batch.sample.tasklet.UnknownClass";
tasklet.setCommand(command);
tasklet.setTimeout(200L);
tasklet.afterPropertiesSet();
log.info("Executing command: " + command);