Browse Source

Increase timeout in integration test

pull/592/merge
Rossen Stoyanchev 12 years ago
parent
commit
e8d8c3390a
  1. 2
      spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java

2
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 { 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); assertNotNull("Times out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]", event);
assertEquals(isBrokerAvailable, event.isBrokerAvailable()); assertEquals(isBrokerAvailable, event.isBrokerAvailable());
} }

Loading…
Cancel
Save