From d822186490826bce2b121bc0bad7f34695800c56 Mon Sep 17 00:00:00 2001 From: dsyer Date: Tue, 21 Aug 2007 15:15:08 +0000 Subject: [PATCH] Allow more time for interrupt to happen --- .../execution/step/simple/StepExecutorInterruptionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0e9fe7ed6..faac2c29e 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 < 15) { + while (processingThread.isAlive() && count < 150) { Thread.sleep(20); count++; }