EnableIntegrationTests: increase receive timers

https://build.spring.io/browse/INT-MASTERSPRING40-623/
This commit is contained in:
Gary Russell
2019-02-20 10:49:24 -05:00
parent c6965b226d
commit f15a4c49eb

View File

@@ -585,13 +585,13 @@ public class EnableIntegrationTests {
public void testBridgeAnnotations() {
GenericMessage<?> testMessage = new GenericMessage<Object>("foo");
this.bridgeInput.send(testMessage);
Message<?> receive = this.bridgeOutput.receive(2000);
Message<?> receive = this.bridgeOutput.receive(10_000);
assertNotNull(receive);
assertSame(receive, testMessage);
assertNull(this.bridgeOutput.receive(10));
this.pollableBridgeInput.send(testMessage);
receive = this.pollableBridgeOutput.receive(2000);
receive = this.pollableBridgeOutput.receive(10_000);
assertNotNull(receive);
assertSame(receive, testMessage);
assertNull(this.pollableBridgeOutput.receive(10));
@@ -609,13 +609,13 @@ public class EnableIntegrationTests {
Lifecycle.class).start();
this.metaBridgeInput.send(testMessage);
receive = this.metaBridgeOutput.receive(2000);
receive = this.metaBridgeOutput.receive(10_000);
assertNotNull(receive);
assertSame(receive, testMessage);
assertNull(this.metaBridgeOutput.receive(10));
this.bridgeToInput.send(testMessage);
receive = this.bridgeToOutput.receive(2000);
receive = this.bridgeToOutput.receive(10_000);
assertNotNull(receive);
assertSame(receive, testMessage);
assertNull(this.bridgeToOutput.receive(10));
@@ -623,7 +623,7 @@ public class EnableIntegrationTests {
PollableChannel replyChannel = new QueueChannel();
Message<?> bridgeMessage = MessageBuilder.fromMessage(testMessage).setReplyChannel(replyChannel).build();
this.pollableBridgeToInput.send(bridgeMessage);
receive = replyChannel.receive(2000);
receive = replyChannel.receive(10_000);
assertNotNull(receive);
assertSame(receive, bridgeMessage);
assertNull(replyChannel.receive(10));
@@ -641,7 +641,7 @@ public class EnableIntegrationTests {
Lifecycle.class).start();
this.myBridgeToInput.send(bridgeMessage);
receive = replyChannel.receive(2000);
receive = replyChannel.receive(10_000);
assertNotNull(receive);
assertSame(receive, bridgeMessage);
assertNull(replyChannel.receive(10));