mirror of
https://github.com/ceph/ceph
synced 2025-02-21 18:17:42 +00:00
test/pybind/test_rbd: filter out unknown list_children2 keys
Fixes: http://tracker.ceph.com/issues/37729 Signed-off-by: Mykola Golub <mgolub@suse.com>
This commit is contained in:
parent
d49e2e9075
commit
24cc60335d
@ -1340,7 +1340,8 @@ class TestClone(object):
|
||||
eq(deduped, set(expected))
|
||||
|
||||
def check_children2(self, expected):
|
||||
actual = list(self.image.list_children2())
|
||||
actual = [{k:v for k,v in x.items() if k in expected[0]} \
|
||||
for x in self.image.list_children2()]
|
||||
eq(actual, expected)
|
||||
|
||||
def get_image_id(self, ioctx, name):
|
||||
|
Loading…
Reference in New Issue
Block a user