From 355e8796f73b53d9e6a06f85127d1eee3656a128 Mon Sep 17 00:00:00 2001 From: Mykola Golub Date: Sun, 4 Feb 2018 10:13:18 +0200 Subject: [PATCH] test/pybind/rbd: skip test_deep_copy_clone if layering not enabled (otherwise it will fail on protect snap) Signed-off-by: Mykola Golub --- src/test/pybind/test_rbd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index b957a8766e4..35d3bb03ca2 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 -- 2.39.5