BUG-4565: queue stats error
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / statistics / StatisticsGatheringUtilsTest.java
index 86448ab68ca0767eb74391e8000d3885c64d0b9f..c0871b26a8864ba778b1cf73585e302a02a78987 100644 (file)
@@ -392,15 +392,14 @@ public class StatisticsGatheringUtilsTest {
 
         fireAndCheck(type, statsData);
 
-        InstanceIdentifier<FlowCapableNodeConnectorQueueStatisticsData> queuePath = dummyNodePath
+        KeyedInstanceIdentifier<Queue, QueueKey> queuePath = dummyNodePath
                 .child(NodeConnector.class, new NodeConnectorKey(new NodeConnectorId("openflow:" + DUMMY_NODE_ID_VALUE + ":11")))
                 .augmentation(FlowCapableNodeConnector.class)
-                .child(Queue.class, new QueueKey(new QueueId(queueIdValue)))
-                .augmentation(FlowCapableNodeConnectorQueueStatisticsData.class);
+                .child(Queue.class, new QueueKey(new QueueId(queueIdValue)));
         verify(deviceContext).writeToTransaction(
                 Matchers.eq(LogicalDatastoreType.OPERATIONAL),
                 Matchers.eq(queuePath),
-                Matchers.any(FlowCapableNodeConnectorQueueStatisticsData.class));
+                Matchers.any(Queue.class));
     }
 
     @Test