From 5244ef07ca1aa3d06e93a53d2e4e910e90fa363a Mon Sep 17 00:00:00 2001 From: dsyer Date: Sat, 14 Mar 2009 09:47:55 +0000 Subject: [PATCH] Bump up timeout in failed test --- .../jms/BatchMessageListenerContainerIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/container/jms/BatchMessageListenerContainerIntegrationTests.java b/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/container/jms/BatchMessageListenerContainerIntegrationTests.java index c730d0dff..ecd5a4102 100644 --- a/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/container/jms/BatchMessageListenerContainerIntegrationTests.java +++ b/spring-batch-infrastructure-tests/src/test/java/org/springframework/batch/container/jms/BatchMessageListenerContainerIntegrationTests.java @@ -87,7 +87,7 @@ public class BatchMessageListenerContainerIntegrationTests { jmsTemplate.convertAndSend("queue", "foo"); jmsTemplate.convertAndSend("queue", "bar"); int waiting = 0; - while (count < 2 && waiting++ < 10) { + while (count < 2 && waiting++ < 20) { Thread.sleep(100L); } if (count < 2) {