]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rbd_mirror: fix typo in InstanceWatcher mock test
authorMykola Golub <mgolub@suse.com>
Fri, 21 Dec 2018 11:23:00 +0000 (13:23 +0200)
committerMykola Golub <mgolub@suse.com>
Fri, 21 Dec 2018 11:23:00 +0000 (13:23 +0200)
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/test/rbd_mirror/test_mock_InstanceWatcher.cc

index c6942b7738bca7ecf00743fc044325a9750d2fd3..075134d9912e49134999f8f8ba8421dbae3fa459 100644 (file)
@@ -947,7 +947,7 @@ TEST_F(TestMockInstanceWatcher_NotifySync, StartedOnNonLeaderAcquireLeader) {
   expect_throttler_destroy();
   instance_watcher2->handle_release_leader();
   instance_watcher1->handle_acquire_leader();
-  instance_watcher2->handle_update_leader(instance_id2);
+  instance_watcher2->handle_update_leader(instance_id1);
 
   instance_watcher1->notify_sync_complete("sync_id");
 }