diff options
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/cursor_manager_test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/dbtests/cursor_manager_test.cpp b/src/mongo/dbtests/cursor_manager_test.cpp index 44cc8b7a941..6a3ebd83cc6 100644 --- a/src/mongo/dbtests/cursor_manager_test.cpp +++ b/src/mongo/dbtests/cursor_manager_test.cpp @@ -84,6 +84,7 @@ public: return {makeFakePlanExecutor(opCtx), kTestNss, {}, + opCtx->getWriteConcern(), repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -134,6 +135,7 @@ TEST_F(CursorManagerTest, ShouldBeAbleToKillPinnedCursor) { {makeFakePlanExecutor(), kTestNss, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -160,6 +162,7 @@ TEST_F(CursorManagerTest, ShouldBeAbleToKillPinnedCursorMultiClient) { {makeFakePlanExecutor(), kTestNss, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -196,6 +199,7 @@ TEST_F(CursorManagerTest, InactiveCursorShouldTimeout) { {makeFakePlanExecutor(), NamespaceString{"test.collection"}, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -211,6 +215,7 @@ TEST_F(CursorManagerTest, InactiveCursorShouldTimeout) { {makeFakePlanExecutor(), NamespaceString{"test.collection"}, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -231,6 +236,7 @@ TEST_F(CursorManagerTest, InactivePinnedCursorShouldNotTimeout) { {makeFakePlanExecutor(), NamespaceString{"test.collection"}, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -255,6 +261,7 @@ TEST_F(CursorManagerTest, MarkedAsKilledCursorsShouldBeDeletedOnCursorPin) { {makeFakePlanExecutor(), NamespaceString{"test.collection"}, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -288,6 +295,7 @@ TEST_F(CursorManagerTest, InactiveKilledCursorsShouldTimeout) { {makeFakePlanExecutor(), NamespaceString{"test.collection"}, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -320,6 +328,7 @@ TEST_F(CursorManagerTest, UsingACursorShouldUpdateTimeOfLastUse) { {makeFakePlanExecutor(), kTestNss, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -333,6 +342,7 @@ TEST_F(CursorManagerTest, UsingACursorShouldUpdateTimeOfLastUse) { {makeFakePlanExecutor(), kTestNss, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, @@ -370,6 +380,7 @@ TEST_F(CursorManagerTest, CursorShouldNotTimeOutUntilIdleForLongEnoughAfterBeing {makeFakePlanExecutor(), kTestNss, {}, + {}, repl::ReadConcernArgs(repl::ReadConcernLevel::kLocalReadConcern), BSONObj(), ClientCursorParams::LockPolicy::kLocksInternally, |