summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/rename_collection_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/rename_collection_test.cpp')
-rw-r--r--src/mongo/db/catalog/rename_collection_test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/rename_collection_test.cpp b/src/mongo/db/catalog/rename_collection_test.cpp
index 5ecb49e607f..3acd605af57 100644
--- a/src/mongo/db/catalog/rename_collection_test.cpp
+++ b/src/mongo/db/catalog/rename_collection_test.cpp
@@ -216,7 +216,6 @@ void OpObserverMock::onInserts(OperationContext* opCtx,
uasserted(ErrorCodes::OperationFailed, "insert failed");
}
- ASSERT_TRUE(opCtx->lockState()->isCollectionLockedForMode(nss, MODE_X));
onInsertsIsTargetDatabaseExclusivelyLocked =
opCtx->lockState()->isDbLockedForMode(nss.db(), MODE_X);