From bfb2e703e8278c18a9741a69417dd84a5c9f6edb Mon Sep 17 00:00:00 2001 From: dsyer Date: Thu, 16 Aug 2007 07:38:41 +0000 Subject: [PATCH] increase timeout in asynch test --- .../org/springframework/batch/repeat/jms/AsynchronousTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java b/integration/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java index 9aabe82fa..422c5f79b 100644 --- a/integration/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java +++ b/integration/src/test/java/org/springframework/batch/repeat/jms/AsynchronousTests.java @@ -136,7 +136,7 @@ public class AsynchronousTests extends AbstractDependencyInjectionSpringContextT container.start(); // Need to sleep for at least a second here... - Thread.sleep(1000L); + Thread.sleep(3000L); // We rolled back so the messages might come in many times... assertTrue(list.size() >= 1);