4df3ef8f33

The test test_connect_volume_device_not_valid in FibreChannelConnectorTestCase was taking over 6 seconds to complete since the FixedIntervalLoopingCall in the method under test was not being mocked out, making the test hang until the timeout was reached. This fixes this and any other connector test case by moving the mocking with a test fake into the base connector test class setUp call. Change-Id: I6b174d94b5518d6267c1fa75528a90d95a312419 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Team and repository tags
brick
OpenStack Cinder brick library for managing local volume attaches
Features
- Discovery of volumes being attached to a host for many transport protocols.
- Removal of volumes from a host.
Hacking
Hacking on brick requires python-gdbm (for Debian derived distributions), Python 2.7 and Python 3.4. A recent tox is required, as is a recent virtualenv (13.1.0 or newer).
If "tox -e py34" fails with the error "db type could not be determined", remove the .testrepository/ directory and then run "tox -e py34".
- For any other information, refer to the developer documents:
- OR refer to the parent project, Cinder:
- Release notes for the project can be found at:
- License: Apache License, Version 2.0
- Source: https://git.openstack.org/cgit/openstack/os-brick
- Bugs: https://bugs.launchpad.net/os-brick
Description
Languages
Python
99.6%
Shell
0.4%