From: Abhijit Sinha Date: Wed, 7 Nov 2018 17:48:44 +0000 (+0000) Subject: Merge "Setup hugepages on SA host(sriov, ovs_dpdk)" X-Git-Tag: opnfv-8.0.0~134 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b66cff80900ad2b14c96dd7100104318f0754f05;p=yardstick.git Merge "Setup hugepages on SA host(sriov, ovs_dpdk)" --- b66cff80900ad2b14c96dd7100104318f0754f05 diff --cc yardstick/tests/unit/benchmark/contexts/standalone/test_ovs_dpdk.py index a03d9082b,707d45207..190e83d5f --- a/yardstick/tests/unit/benchmark/contexts/standalone/test_ovs_dpdk.py +++ b/yardstick/tests/unit/benchmark/contexts/standalone/test_ovs_dpdk.py @@@ -389,8 -385,10 +385,10 @@@ class OvsDpdkContextTestCase(unittest.T self.ovs_dpdk._enable_interfaces(0, ["private_0"], 'test') mock_add_ovs_interface.assert_called_once_with( 'fake_path', 0, self.NETWORKS['private_0']['vpci'], - self.NETWORKS['private_0']['mac'], 'test') + self.NETWORKS['private_0']['mac'], 'test', 1) + @mock.patch.object(ovs_dpdk.OvsDpdkContext, '_check_hugepages') + @mock.patch.object(common_utils, 'setup_hugepages') @mock.patch.object(model.StandaloneContextHelper, 'check_update_key') @mock.patch.object(model.Libvirt, 'write_file') @mock.patch.object(model.Libvirt, 'build_vm_xml')