From e8d8c3390a0626308b770c5860c11704f5c52e06 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Wed, 16 Jul 2014 22:05:50 -0400 Subject: [PATCH] Increase timeout in integration test --- .../stomp/StompBrokerRelayMessageHandlerIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java b/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java index 45771ea27b..52e82e64ac 100644 --- a/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java +++ b/spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java @@ -277,7 +277,7 @@ public class StompBrokerRelayMessageHandlerIntegrationTests { } public void expectBrokerAvailabilityEvent(boolean isBrokerAvailable) throws InterruptedException { - BrokerAvailabilityEvent event = this.eventQueue.poll(10000, TimeUnit.MILLISECONDS); + BrokerAvailabilityEvent event = this.eventQueue.poll(20000, TimeUnit.MILLISECONDS); assertNotNull("Times out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]", event); assertEquals(isBrokerAvailable, event.isBrokerAvailable()); }