From de21d44af1221b4d026afd98f9f4838eda34dfc5 Mon Sep 17 00:00:00 2001 From: dsyer Date: Fri, 20 Mar 2009 10:49:57 +0000 Subject: [PATCH] Try to fix timout error in build again --- .../springframework/batch/repeat/jms/AsynchronousTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java b/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java index 22edf4f2a..2f54d40ee 100644 --- a/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java +++ b/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java @@ -161,7 +161,7 @@ public class AsynchronousTests { // Need to sleep here, but not too long or the // container goes into its own recovery cycle and spits out the bad // message... - waitFor(list,2,2000); + waitFor(list,2,500); container.stop(); @@ -189,9 +189,9 @@ public class AsynchronousTests { */ private void waitFor(List list, int size, int timeout) throws InterruptedException { int count = 0; - int max = timeout / 100; + int max = timeout / 50; while (count