commit 5bb7603fce7bba58dd73cdca956e015054391380
Author: Peter Portante <email address hidden>
Date: Wed Mar 26 22:38:03 2014 -0400
Mock out time and sleep to avoid races
We mock out time.time(), time.sleep() and eventlet.sleep() so that we
avoid test problems caused by exceedingly long delays during the
execution of the test.
We also make sure to convert the units used in the tests to
milliseconds for a bit more clarity.
Reviewed: https:/ /review. openstack. org/83277 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=5bb7603fce7 bba58dd73cdca95 6e015054391380
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5bb7603fce7bba5 8dd73cdca956e01 5054391380
Author: Peter Portante <email address hidden>
Date: Wed Mar 26 22:38:03 2014 -0400
Mock out time and sleep to avoid races
We mock out time.time(), time.sleep() and eventlet.sleep() so that we
avoid test problems caused by exceedingly long delays during the
execution of the test.
We also make sure to convert the units used in the tests to
milliseconds for a bit more clarity.
Closes bug: 1298154
Change-Id: I803d06cbf205a0 2a4f7bb1e0c467d 276632cd6a3