From: Jason Dillaman Date: Tue, 11 Feb 2020 21:08:30 +0000 (-0500) Subject: test/pybind/rbd: demoted images cannot be deleted X-Git-Tag: v15.1.1~350^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5f4edf6cbdc845f95d1d73510c89010da47b4575;p=ceph.git test/pybind/rbd: demoted images cannot be deleted Now that we don't delete the last mirror snapshot, the test is failing because you cannot delete a demoted image. Signed-off-by: Jason Dillaman --- diff --git a/src/test/pybind/test_rbd.py b/src/test/pybind/test_rbd.py index 836cc7f5bac..5ff6d5a752e 100644 --- a/src/test/pybind/test_rbd.py +++ b/src/test/pybind/test_rbd.py @@ -2132,6 +2132,7 @@ class TestMirroring(object): self.rbd.mirror_peer_remove(ioctx, peer1_uuid) self.rbd.mirror_peer_remove(ioctx, peer2_uuid) + self.image.mirror_image_promote(False) class TestTrash(object):