fix sriov/ovs-dpdk unittests on systems with fewer than 10 cores 35/38135/1
authorRoss Brattain <ross.b.brattain@intel.com>
Wed, 26 Jul 2017 07:58:29 +0000 (00:58 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Wed, 26 Jul 2017 07:59:56 +0000 (00:59 -0700)
commitd9b9b8970312e13f798a367439cfc2c333c7fca4
treed30731f7b23ec6ec11373e9f48e1dfcfcb2b6de8
parent12ce596d02be27abf4ab2e9aebb873002c6cd6a9
fix sriov/ovs-dpdk unittests on systems with fewer than 10 cores

we need to wrap vcpupin modulo number of cores.

also mock time.sleep

Change-Id: I6433418a99505b469c61c81a9a023d84434fa0ee
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
tests/unit/benchmark/contexts/test_ovsdpdk.py
tests/unit/benchmark/contexts/test_sriov.py
yardstick/benchmark/contexts/ovsdpdk.py
yardstick/benchmark/contexts/sriov.py