BUG-1006 - removal of bulkTransactionCache
[openflowplugin.git] / openflowplugin / src / test / java / org / opendaylight / openflowplugin / openflow / md / core / sal / ModelDrivenSwitchImplTest.java
index 1494186f2dba2d962509d27cd5c3d012e6992088..41572000b63acaf06072c91587a422c8615967cb 100644 (file)
@@ -64,9 +64,6 @@ public class ModelDrivenSwitchImplTest {
     @Mock
     private GetFeaturesOutput features;
 
-    public static Cache<TransactionKey, Object> bulkTransactionCache = CacheBuilder.newBuilder()
-            .expireAfterWrite(10000, TimeUnit.MILLISECONDS).concurrencyLevel(1).build();
-
     /**
      * @throws java.lang.Exception
      */
@@ -77,7 +74,6 @@ public class ModelDrivenSwitchImplTest {
         Mockito.when(conductor.getVersion()).thenReturn(OFConstants.OFP_VERSION_1_0)
                 .thenReturn(OFConstants.OFP_VERSION_1_3);
         Mockito.when(context.getFeatures()).thenReturn(features);
-        Mockito.when(context.getbulkTransactionCache()).thenReturn(bulkTransactionCache);
         Mockito.when(features.getDatapathId()).thenReturn(BigInteger.valueOf(1));
         
         OFSessionUtil.getSessionManager().setRpcPool(Executors.newFixedThreadPool(10));