diff options
Diffstat (limited to 'src/mongo/dbtests/plan_executor_invalidation_test.cpp')
-rw-r--r-- | src/mongo/dbtests/plan_executor_invalidation_test.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/dbtests/plan_executor_invalidation_test.cpp b/src/mongo/dbtests/plan_executor_invalidation_test.cpp index 48e9a7adfb1..61eedeab72f 100644 --- a/src/mongo/dbtests/plan_executor_invalidation_test.cpp +++ b/src/mongo/dbtests/plan_executor_invalidation_test.cpp @@ -354,8 +354,7 @@ TEST_F(PlanExecutorInvalidationTest, CollScanDiesOnCollectionRenameWithinDatabas ASSERT_TRUE(_client.runCommand("admin", BSON("renameCollection" << nss.ns() << "to" << "unittests.new_collection_name" - << "dropTarget" - << true), + << "dropTarget" << true), info)); ASSERT_THROWS_CODE(exec->restoreState(), DBException, ErrorCodes::QueryPlanKilled); @@ -381,8 +380,7 @@ TEST_F(PlanExecutorInvalidationTest, IxscanDiesOnCollectionRenameWithinDatabase) ASSERT_TRUE(_client.runCommand("admin", BSON("renameCollection" << nss.ns() << "to" << "unittests.new_collection_name" - << "dropTarget" - << true), + << "dropTarget" << true), info)); ASSERT_THROWS_CODE(exec->restoreState(), DBException, ErrorCodes::QueryPlanKilled); |