]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix xtremio slow unit tests
authorTom Barron <tpb@dyncloud.net>
Thu, 21 Jan 2016 20:53:03 +0000 (15:53 -0500)
committerTom Barron <tpb@dyncloud.net>
Fri, 22 Jan 2016 11:28:53 +0000 (06:28 -0500)
commitf342638d33c6d995b173b4ecf904872b3949da57
tree2cf7422911eff610570a553ce44c815bab3ff89b
parent201f7d73828054144812b8f25d642e219bf09f45
Fix xtremio slow unit tests

This commit mocks out time.sleep() in the test_retry_request()
method of test_emc_xtremio.EMCXIODriverTestCase.

As documented in the accompanying bug, this yields about a 6X
speedup for this unit test suite.

Change-Id: I86647dce1fe8a6e8281ee3617fbc5e5c1332404d
Closes-Bug: #1536782
cinder/tests/unit/test_emc_xtremio.py