]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rbd_mirror: fix race on test shut down 36657/head
authorMykola Golub <mgolub@suse.com>
Thu, 18 Jun 2020 13:47:59 +0000 (14:47 +0100)
committerNathan Cutler <ncutler@suse.com>
Sat, 15 Aug 2020 13:15:37 +0000 (15:15 +0200)
in TestMockImageReplayerSnapshotReplayer.UnlinkRemoteSnapshot

Fixes: https://tracker.ceph.com/issues/46076
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit c214785fa59ace2eb68a54b4354864ff707335ca)

src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc

index 4a6f6938dd71b46be83e6a06423e86abfc29bf3b..d1117bb79eb6f8b2f1731b3044f15018788c67f9 100644 (file)
@@ -2198,7 +2198,7 @@ TEST_F(TestMockImageReplayerSnapshotReplayer, UnlinkRemoteSnapshot) {
   ASSERT_EQ(0, init_ctx.wait());
 
   // wait for sync to complete
-  ASSERT_EQ(0, wait_for_notification(2));
+  ASSERT_EQ(0, wait_for_notification(3));
 
   // shut down
   ASSERT_EQ(0, shut_down_entry_replayer(mock_replayer, mock_threads,