commit 3891692191fb8738fdf6fc171ac531e1869d825c
Author: Dan Smith <email address hidden>
Date: Thu Oct 3 10:17:15 2013 -0700
Fix libvirt test on systems with real iSCSI devices
The test_libvirt_kvm_iser_volume_with_multipath_getmpdev() test
expects a system with no real iSCSI devices. It actually triggers
an os.walk() of /dev/disk/by-path/ip-*, which will return any
iSCSI devices on the system. Since the test expects none, this
will cause the test to fail.
This patch just stubs that out to return an empty list always.
Reviewed: https:/ /review. openstack. org/49592 github. com/openstack/ nova/commit/ 3891692191fb873 8fdf6fc171ac531 e1869d825c
Committed: http://
Submitter: Jenkins
Branch: master
commit 3891692191fb873 8fdf6fc171ac531 e1869d825c
Author: Dan Smith <email address hidden>
Date: Thu Oct 3 10:17:15 2013 -0700
Fix libvirt test on systems with real iSCSI devices
The test_libvirt_ kvm_iser_ volume_ with_multipath_ getmpdev( ) test by-path/ ip-*, which will return any
expects a system with no real iSCSI devices. It actually triggers
an os.walk() of /dev/disk/
iSCSI devices on the system. Since the test expects none, this
will cause the test to fail.
This patch just stubs that out to return an empty list always.
Change-Id: Ibb3fd18207d013 c35487a3eebb336 b5f288b703a
Closes-bug: #1234834