[dts] [PATCH V1] tests/vm power mgr:fix match cpu fail
zhao,meijuan
meijuanx.zhao at intel.com
Mon Dec 24 08:11:41 CET 2018
dpdk remove power mask function,you can reference b6b22982f
Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
---
tests/TestSuite_vm_power_manager.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py
index 59043c6..7620c19 100644
--- a/tests/TestSuite_vm_power_manager.py
+++ b/tests/TestSuite_vm_power_manager.py
@@ -268,8 +268,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator):
# check host core has correct mapped
cpu_idx = 0
for cpu in cpus:
- mask = utils.create_mask([cpu])
- cpu_map = '[%d]: Physical CPU Mask %s' % (cpu_idx, mask)
+ cpu_map = '[%d]: Physical CPU %s' % (cpu_idx, cpu)
self.verify(cpu_map in vm_info, "Faile to map host cpu %s" % cpu)
cpu_idx += 1
--
2.17.2
More information about the dts
mailing list