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);