os-brick/os_brick/tests
Gorka Eguileor 1432c369fb FC: Fix not flushing on detach
When doing multipathed Fibre Channel we may end up not flushing the
volume when disconnecting it if didn't find a multipath when doing
the connection.

The issue is caused by the `connect_volume` call returning a real path
instead of a symlink and us passing the wrong device_info to the
_remove_devices method, which makes the disconnect code incorrectly
identify when a multipath was used to decide whether to do a flush or
not.

This patch fixes these things in order to flush the individual path when
necessary.

Closes-Bug: #1897787
Change-Id: Ie3266c81b3c6bb5a2c213a12410539d404d1febe
2020-10-01 12:29:50 +02:00
..
caches Add volume local cache support to os-brick 2020-08-26 14:37:15 +08:00
encryptors Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
initiator FC: Fix not flushing on detach 2020-10-01 12:29:50 +02:00
local_dev Switch from retrying to tenacity 2020-05-06 09:08:01 -05:00
privileged RBD: Fix check_valid_device 2020-07-30 14:07:49 +02:00
remotefs Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
windows Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:14:34 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
base.py Switch from retrying to tenacity 2020-05-06 09:08:01 -05:00
test_brick.py Removes unnecessary utf-8 encoding 2016-12-22 10:24:40 +07:00
test_exception.py Use six.text_type instead of unicode 2015-04-03 10:22:45 +03:00
test_executor.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_utils.py Switch from retrying to tenacity 2020-05-06 09:08:01 -05:00