Skip to content

Commit 6ab6fc8

Browse files
authored
Merge pull request ceph#61847 from idryomov/wip-63798
test/rbd_mirror: flush watch/notify callbacks in TestImageReplayer Reviewed-by: Vinay Bhaskar Varada <[email protected]>
2 parents e091ab3 + 5d111e2 commit 6ab6fc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/rbd_mirror/test_ImageReplayer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ class TestImageReplayer : public TestFixture {
245245
void unwatch() {
246246
if (m_watch_handle != 0) {
247247
m_remote_ioctx.unwatch2(m_watch_handle);
248+
m_remote_cluster.watch_flush();
248249
delete m_watch_ctx;
249250
m_watch_ctx = nullptr;
250251
m_watch_handle = 0;

0 commit comments

Comments
 (0)