]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Tests: Don't sleep for looping calls
authorEric Harney <eharney@redhat.com>
Mon, 2 Feb 2015 16:12:27 +0000 (17:12 +0100)
committerEric Harney <eharney@redhat.com>
Mon, 2 Feb 2015 16:38:09 +0000 (17:38 +0100)
commit9a564550eab1a4fa4f0702dd00d2400bc485b4b6
tree9861d98eed15fa356afbbdb795fe98eac24320ba
parent107e564ea7b37a672b71c7527cdac2fa9bc8b872
Tests: Don't sleep for looping calls

Some tests are sleeping for a few seconds when
running looping calls.  Mock this out so that
tests do not take longer than required to run.

This takes running vnxdirect and srb tests from:
Ran 105 tests in 37.876s
 to:
Ran 105 tests in 23.154s

Change-Id: I1e79c04d83a59ab37d7550b0021a67fe61e8096e
cinder/tests/test_emc_vnxdirect.py
cinder/tests/test_srb.py
cinder/tests/utils.py