diff --git a/execution/src/test/java/org/springframework/batch/execution/step/simple/StepExecutorInterruptionTests.java b/execution/src/test/java/org/springframework/batch/execution/step/simple/StepExecutorInterruptionTests.java index faac2c29e..20a5d1daa 100644 --- a/execution/src/test/java/org/springframework/batch/execution/step/simple/StepExecutorInterruptionTests.java +++ b/execution/src/test/java/org/springframework/batch/execution/step/simple/StepExecutorInterruptionTests.java @@ -105,7 +105,7 @@ public class StepExecutorInterruptionTests extends TestCase { processingThread.interrupt(); int count = 0; - while (processingThread.isAlive() && count < 150) { + while (processingThread.isAlive() && count < 1000) { Thread.sleep(20); count++; }