IN PROGRESS - issue BATCH-476: samples cleanup

http://jira.springframework.org/browse/BATCH-476

infinite loop replaced with finite but long enough (so that the loop doesn't run forever when test fails)
This commit is contained in:
robokaso
2008-03-18 14:07:39 +00:00
parent 1c6aa3570b
commit 94b5615245
3 changed files with 4 additions and 39 deletions

View File

@@ -50,6 +50,7 @@ public class GracefulShutdownFunctionalTests extends AbstractBatchLauncherTests
}
assertFalse("Timed out waiting for job to end.", jobExecution.isRunning());
assertEquals(BatchStatus.STOPPED, jobExecution.getStatus());
}