Some JmsMockTests tweaks
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
jms-template="jmsTemplate"
|
||||
channel="inputChannel"
|
||||
auto-startup="false">
|
||||
<int:poller fixed-rate="500" max-messages-per-poll="1" error-channel="errorChannel"/>
|
||||
<int:poller fixed-delay="500" max-messages-per-poll="1" error-channel="errorChannel"/>
|
||||
</int-jms:inbound-channel-adapter>
|
||||
|
||||
<bean id="jmsTemplate" class="org.mockito.Mockito" factory-method="mock">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -162,7 +162,7 @@ public class JmsMockTests {
|
||||
*/
|
||||
protected boolean verifyJmsMessageReceivedOnOutputChannel(Object obj, SubscribableChannel expectedOutputChannel,
|
||||
CountDownHandler handler) throws InterruptedException {
|
||||
return verifyJmsMessageOnOutputChannel(obj, expectedOutputChannel, handler, 7000);
|
||||
return verifyJmsMessageOnOutputChannel(obj, expectedOutputChannel, handler, 10000);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user