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:
Gary Russell
2010-07-12 19:21:29 +00:00
parent 3e9dd90f10
commit 699c10f1dd

View File

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