From: Mykola Golub Date: Sun, 4 Feb 2018 08:13:18 +0000 (+0200) Subject: test/pybind/rbd: skip test_deep_copy_clone if layering not enabled X-Git-Tag: v13.0.2~354^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=355e8796f73b53d9e6a06f85127d1eee3656a128;p=ceph.git test/pybind/rbd: skip test_deep_copy_clone if layering not enabled (otherwise it will fail on protect snap) Signed-off-by: Mykola Golub --- diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index b957a8766e49f..35d3bb03ca249 100644 --- a/src/test/pybind/test_rbd.py +++ b/src/test/pybind/test_rbd.py @@ -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