diff options
author | Emma Foley <emma.l.foley@intel.com> | 2019-01-29 18:15:23 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2019-01-31 12:09:32 +0000 |
commit | 1342ab2acfbdeb39fd7aaeda7455ba6c16ad9095 (patch) | |
tree | 26570e7114080402d76bbf666c59817b2cf9c068 /api/utils | |
parent | dfb534bbd7ab1454c1ad3b63d0b785e3050c1962 (diff) |
Mock time.sleep in slow tests
time.sleep was called in a number of classes which wasn't
mocked in the tests.
This accounted for 2.5 minutes of UT execution time.
The calls to time.sleep() have been mocked, and the test
execution time has been reduced.
JIRA: YARDSTICK-1595
Change-Id: I0a4f4962513cf8845471b074347601e33b35ef25
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'api/utils')
0 files changed, 0 insertions, 0 deletions