]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/pybind/rbd: skip test_deep_copy_clone if layering not enabled
authorMykola Golub <mgolub@suse.com>
Sun, 4 Feb 2018 08:13:18 +0000 (10:13 +0200)
committerMykola Golub <mgolub@suse.com>
Sun, 4 Feb 2018 08:13:18 +0000 (10:13 +0200)
(otherwise it will fail on protect snap)

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/test/pybind/test_rbd.py

index b957a8766e49f5e2cc6743eacb3a2e95ddf89119..35d3bb03ca249ecc9a2cce8e5330eae042999421 100644 (file)
@@ -518,6 +518,7 @@ class TestImage(object):
             copy.remove_snap('snap1')
         self.rbd.remove(ioctx, dst_name)
 
+    @require_features([RBD_FEATURE_LAYERING])
     def test_deep_copy_clone(self):
         global ioctx
         global features