Rework BGP timers to work with channel
[bgpcep.git] / bgp / rib-impl / src / test / java / org / opendaylight / protocol / bgp / rib / impl / SpeakerSessionMock.java
index 03f5f6c22d58f8fc084ce88c2e9b0856f0afa464..98939e90aa28c5f30782c6f36b43f5b62e6c84d4 100644 (file)
@@ -9,7 +9,6 @@ package org.opendaylight.protocol.bgp.rib.impl;
 
 import static org.mockito.Mockito.mock;
 import io.netty.channel.Channel;
-import io.netty.util.HashedWheelTimer;
 
 import org.opendaylight.protocol.bgp.parser.BGPSessionListener;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.OpenBuilder;
@@ -23,7 +22,7 @@ public class SpeakerSessionMock extends BGPSessionImpl {
     private final BGPSessionListener client;
 
     SpeakerSessionMock(final BGPSessionListener listener, final BGPSessionListener client) {
-        super(new HashedWheelTimer(), listener, mock(Channel.class), new OpenBuilder().setHoldTimer(5).build(), 10);
+        super(listener, mock(Channel.class), new OpenBuilder().setHoldTimer(5).build(), 10);
         this.client = client;
     }