OPEN - issue BATCH-303: Replace repeat contexts in core domain with boolean flag that can be checked by executors

http://jira.springframework.org/browse/BATCH-303
This commit is contained in:
dsyer
2008-01-22 13:52:17 +00:00
parent 552549f897
commit eeddeff59b
2 changed files with 11 additions and 12 deletions

View File

@@ -67,16 +67,16 @@ public class GracefulShutdownFunctionalTest extends AbstractBatchLauncherTests {
launcher.stop();
//it takes a little while for it to shut down.
// Thread.sleep(1000);
//
// assertFalse(launcher.isRunning());
// assertFalse(jobThread.isAlive());
//
// if (!errors.isEmpty()) {
// Exception e = (Exception) errors.get(0);
// e.printStackTrace();
// fail("Unexpected Exception: "+e);
// }
Thread.sleep(1000);
assertFalse(launcher.isRunning());
assertFalse(jobThread.isAlive());
if (!errors.isEmpty()) {
Exception e = (Exception) errors.get(0);
e.printStackTrace();
fail("Unexpected Exception: "+e);
}
}
}