Increase timeout in BridgeParserTests - the poller runs every 3 seconds but we were only waiting 1 second; if we just miss a poll, we'll fail.
This commit is contained in:
@@ -70,7 +70,7 @@ public class BridgeParserTests extends AbstractJUnit4SpringContextTests {
|
||||
public void pollableChannel() {
|
||||
Message<?> message = new StringMessage("test1");
|
||||
this.pollableChannel.send(message);
|
||||
Message<?> reply = this.output1.receive(1000);
|
||||
Message<?> reply = this.output1.receive(6000);
|
||||
assertThat(message, sameExceptImmutableHeaders(reply));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user