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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user