Revert timeout inscreases in STOMP tests
This change is not fixing tests but rather increasing their duration, so we're reverting this change as a result.
This commit is contained in:
parent
d0cf90bb8e
commit
88ccab8f13
|
|
@ -106,8 +106,8 @@ public class ReactorNettyTcpStompClientTests {
|
|||
ConsumingHandler consumingHandler2 = new ConsumingHandler(destination);
|
||||
ListenableFuture<StompSession> consumerFuture2 = this.client.connect(consumingHandler2);
|
||||
|
||||
assertThat(consumingHandler1.awaitForSubscriptions(10000)).isTrue();
|
||||
assertThat(consumingHandler2.awaitForSubscriptions(10000)).isTrue();
|
||||
assertThat(consumingHandler1.awaitForSubscriptions(5000)).isTrue();
|
||||
assertThat(consumingHandler2.awaitForSubscriptions(5000)).isTrue();
|
||||
|
||||
ProducingHandler producingHandler = new ProducingHandler();
|
||||
producingHandler.addToSend(destination, "foo1");
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ public class StompBrokerRelayMessageHandlerIntegrationTests {
|
|||
}
|
||||
|
||||
public void expectBrokerAvailabilityEvent(boolean isBrokerAvailable) throws InterruptedException {
|
||||
BrokerAvailabilityEvent event = this.eventQueue.poll(40000, TimeUnit.MILLISECONDS);
|
||||
BrokerAvailabilityEvent event = this.eventQueue.poll(20000, TimeUnit.MILLISECONDS);
|
||||
assertThat(event).as("Times out waiting for BrokerAvailabilityEvent[" + isBrokerAvailable + "]").isNotNull();
|
||||
assertThat(event.isBrokerAvailable()).isEqualTo(isBrokerAvailable);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue