From: Ricardo Dias Date: Mon, 18 Apr 2016 11:22:19 +0000 (+0100) Subject: rbd-mirror: test: Fixed test_PoolWatcher to support the new changes in PoolWatcher... X-Git-Tag: v11.0.0~457^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e3677f115e1f369a49227fba51a1d34505d487ac;p=ceph.git rbd-mirror: test: Fixed test_PoolWatcher to support the new changes in PoolWatcher class Signed-off-by: Ricardo Dias --- diff --git a/src/test/rbd_mirror/test_PoolWatcher.cc b/src/test/rbd_mirror/test_PoolWatcher.cc index 5d131d37c27..fd739f5bd8b 100644 --- a/src/test/rbd_mirror/test_PoolWatcher.cc +++ b/src/test/rbd_mirror/test_PoolWatcher.cc @@ -149,7 +149,7 @@ TestPoolWatcher() : m_lock("TestPoolWatcherLock"), image.close(); m_mirrored_images[ioctx.get_id()].insert(PoolWatcher::ImageIds( - get_image_id(&ioctx, name), mirror_image_info.global_id)); + get_image_id(&ioctx, name), name, mirror_image_info.global_id)); } if (image_name != nullptr) *image_name = name; @@ -194,7 +194,7 @@ TestPoolWatcher() : m_lock("TestPoolWatcherLock"), image.close(); m_mirrored_images[cioctx.get_id()].insert(PoolWatcher::ImageIds( - get_image_id(&cioctx, name), mirror_image_info.global_id)); + get_image_id(&cioctx, name), name, mirror_image_info.global_id)); } if (image_name != nullptr) *image_name = name;