Skip to content

Commit e8d8c33

Browse files
committed
Increase timeout in integration test
1 parent d23b0fe commit e8d8c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandlerIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public void publishEvent(ApplicationEvent event) {
277277
}
278278

279279
public void expectBrokerAvailabilityEvent(boolean isBrokerAvailable) throws InterruptedException {
280-
BrokerAvailabilityEvent event = this.eventQueue.poll(10000, TimeUnit.MILLISECONDS);
280+
BrokerAvailabilityEvent event = this.eventQueue.poll(20000, TimeUnit.MILLISECONDS);
281281
assertNotNull("Times out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]", event);
282282
assertEquals(isBrokerAvailable, event.isBrokerAvailable());
283283
}

0 commit comments

Comments
 (0)