test_vsperf_dpdk: mock time to speedup unitests 51/40951/1
authorRoss Brattain <ross.b.brattain@intel.com>
Mon, 4 Sep 2017 00:20:41 +0000 (17:20 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 4 Sep 2017 00:22:47 +0000 (17:22 -0700)
commitca12137494ee4edadd77e1e4e0fb86d297a37fe3
tree4636b8e3dc556325e1dd2fd4e644028643af1adc
parentc19115bafe0141326b189f317a684bf4681c8bd0
test_vsperf_dpdk: mock time to speedup unitests

If you put time.sleep(1) all over your code you need
to mock time.sleep() in your unittests lest the unittests
take forever.

Change-Id: I9ebbf9e21c98e8c46bab727bbb22f33045db4361
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
tests/unit/benchmark/scenarios/networking/test_vsperf_dpdk.py