diff options
Diffstat (limited to 'src/mongo/dbtests/cursor_manager_test.cpp')
-rw-r--r-- | src/mongo/dbtests/cursor_manager_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/cursor_manager_test.cpp b/src/mongo/dbtests/cursor_manager_test.cpp index 9b0d495e5df..6abd9844de7 100644 --- a/src/mongo/dbtests/cursor_manager_test.cpp +++ b/src/mongo/dbtests/cursor_manager_test.cpp @@ -380,7 +380,7 @@ TEST_F(CursorManagerTest, UsingACursorShouldUpdateTimeOfLastUse) { clock->advance(Milliseconds(1)); // Touch the cursor with id 'usedCursorId' to advance its time of last use. - cursorManager->pinCursor(_opCtx.get(), usedCursorId); + cursorManager->pinCursor(_opCtx.get(), usedCursorId).status_with_transitional_ignore(); // We should be able to time out the unused cursor, but the one we used should stay alive. ASSERT_EQ(2UL, cursorManager->numCursors()); |