summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2019-10-03 11:57:10 -0500
committerTony Asleson <tasleson@redhat.com>2019-10-30 10:38:40 -0500
commitb7c64fe8e29ffc003364da93047b9e003c35fc96 (patch)
tree4989ccbc0d3825b5e874a950af1b1b55281339d3
parentb0286fa1277a9fc7a293916a3c8a3e460d276aa2 (diff)
downloadlvm2-b7c64fe8e29ffc003364da93047b9e003c35fc96.tar.gz
lvmdbustest.py: Add blurb about scan_lvs = 1
When developing and testing on a local system, to get the unit test to pass the test_nesting test, editing the test conf will achieve the success too.
-rwxr-xr-xtest/dbus/lvmdbustest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dbus/lvmdbustest.py b/test/dbus/lvmdbustest.py
index 9bc168334..4ae8b2517 100755
--- a/test/dbus/lvmdbustest.py
+++ b/test/dbus/lvmdbustest.py
@@ -1871,6 +1871,10 @@ class TestDbusService(unittest.TestCase):
#
# NOTE: This needs an equivalent of aux extend_filter_LVMTEST
# when run from lvm2 testsuite. See dbustest.sh.
+ # Also if developing locally with actual devices one can achieve this
+ # by editing lvm.conf with "devices/scan_lvs = 1" As testing
+ # typically utilizes loopback, this test is skipped in
+ # those environments.
pv_object_path = self.objs[PV_INT][0].object_path
if not self.objs[PV_INT][0].Pv.Name.startswith("/dev"):