mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-6322 - fix NetworkRouteTest failure
This commit is contained in:
parent
7b207567d9
commit
36237cb30f
|
@ -37,6 +37,7 @@ import org.apache.activemq.transport.FutureResponse;
|
|||
import org.apache.activemq.transport.ResponseCallback;
|
||||
import org.apache.activemq.transport.Transport;
|
||||
import org.apache.activemq.transport.TransportListener;
|
||||
import org.apache.activemq.transport.tcp.TcpTransport;
|
||||
import org.easymock.EasyMock;
|
||||
import org.easymock.IAnswer;
|
||||
import org.easymock.IMocksControl;
|
||||
|
@ -206,6 +207,7 @@ public class NetworkRouteTest {
|
|||
localBroker.oneway(remoteBrokerInfo);
|
||||
EasyMock.expect(localBroker.request(EasyMock.isA(Object.class)))
|
||||
.andReturn(null);
|
||||
EasyMock.expect(remoteBroker.narrow(TcpTransport.class)).andReturn(null);
|
||||
localBroker.oneway(EasyMock.isA(Object.class));
|
||||
ExpectationWaiter localInitWaiter = ExpectationWaiter.waiterForLastVoidCall();
|
||||
|
||||
|
|
Loading…
Reference in New Issue