Increase timeout in integration test

This commit is contained in:
Rossen Stoyanchev 2014-07-16 22:05:50 -04:00
parent d23b0fec0c
commit e8d8c3390a
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}