fix unit test failure 36/70836/2
authorK.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
Thu, 12 Apr 2018 10:30:02 +0000 (16:00 +0530)
committerSam Hague <shague@redhat.com>
Thu, 12 Apr 2018 17:34:21 +0000 (17:34 +0000)
Change-Id: I0fdcb1dd54cd59dea5d88734349c7a871cbb34ed
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
elanmanager/impl/src/test/java/org/opendaylight/netvirt/elanmanager/tests/ElanServiceTestModule.java

index 15c2e17e94851ccc36d3130bdccbee35b69126f7..16c57a860dc47b742bed6029f0190740ea618cb4 100644 (file)
@@ -26,8 +26,8 @@ import org.opendaylight.genius.mdsalutil.internal.MDSALManager;
 import org.opendaylight.genius.srm.ServiceRecoveryRegistry;
 import org.opendaylight.genius.testutils.TestInterfaceManager;
 import org.opendaylight.genius.testutils.itm.ItmRpcTestImpl;
-import org.opendaylight.genius.utils.hwvtep.HwvtepHACache;
 import org.opendaylight.genius.utils.hwvtep.HwvtepNodeHACache;
+import org.opendaylight.genius.utils.hwvtep.internal.HwvtepNodeHACacheImpl;
 import org.opendaylight.infrautils.diagstatus.DiagStatusService;
 import org.opendaylight.infrautils.inject.guice.testutils.AbstractGuiceJsr250Module;
 import org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService;
@@ -73,7 +73,7 @@ public class ElanServiceTestModule extends AbstractGuiceJsr250Module {
                 .thenReturn(Optional.of(mockedEntityOwnershipState));
         bind(EntityOwnershipService.class).toInstance(mockedEntityOwnershipService);
         bind(L2GatewayCache.class).to(L2GatewayCacheImpl.class);
-        bind(HwvtepNodeHACache.class).to(HwvtepHACache.class);
+        bind(HwvtepNodeHACache.class).to(HwvtepNodeHACacheImpl.class);
         bind(ServiceRecoveryRegistry.class).toInstance(Mockito.mock(ServiceRecoveryRegistry.class));
         bind(INeutronVpnManager.class).toInstance(Mockito.mock(NeutronvpnManagerImpl.class));
         IVpnManager ivpnManager = Mockito.mock(VpnManagerTestImpl.class, CALLS_REAL_METHODS);