]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rbd_mirror: fix race on test shut down 35650/head
authorMykola Golub <mgolub@suse.com>
Thu, 18 Jun 2020 13:47:59 +0000 (14:47 +0100)
committerMykola Golub <mgolub@suse.com>
Thu, 18 Jun 2020 13:47:59 +0000 (14:47 +0100)
in TestMockImageReplayerSnapshotReplayer.UnlinkRemoteSnapshot

Fixes: https://tracker.ceph.com/issues/46076
Signed-off-by: Mykola Golub <mgolub@suse.com>
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,