summaryrefslogtreecommitdiff
path: root/src/mongo/db/free_mon
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2020-05-19 08:49:26 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-17 15:52:43 +0000
commit00fbc981646d9e6ebc391f45a31f4070d4466753 (patch)
tree226e1cdfea70be2b4b71d872350e7fd8b82436a9 /src/mongo/db/free_mon
parent9238911d0a46f26419ecdbec4293457b9e1a891d (diff)
downloadmongo-00fbc981646d9e6ebc391f45a31f4070d4466753.tar.gz
SERVER-38987 Replace ephemeralForTest storage engine with biggie implementation
ephemeralForTest is now a document level locking engine unittests instantiate the oplog as it is required with doc-level locking engines Added a 'incompatible_with_eft' tag for tests that don't work with this engine for different reasons. Many concurrency suites are disabled due to excessive memory usage
Diffstat (limited to 'src/mongo/db/free_mon')
-rw-r--r--src/mongo/db/free_mon/free_mon_controller_test.cpp3
-rw-r--r--src/mongo/db/free_mon/free_mon_storage_test.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/free_mon/free_mon_controller_test.cpp b/src/mongo/db/free_mon/free_mon_controller_test.cpp
index 331770e7275..b594d09f6b2 100644
--- a/src/mongo/db/free_mon/free_mon_controller_test.cpp
+++ b/src/mongo/db/free_mon/free_mon_controller_test.cpp
@@ -429,6 +429,9 @@ void FreeMonControllerTest::setUp() {
// Transition to PRIMARY so that the server can accept writes.
ASSERT_OK(_getReplCoord()->setFollowerMode(repl::MemberState::RS_PRIMARY));
+ repl::setOplogCollectionName(service);
+ repl::createOplog(_opCtx.get());
+
// Create collection with one document.
CollectionOptions collectionOptions;
collectionOptions.uuid = UUID::gen();
diff --git a/src/mongo/db/free_mon/free_mon_storage_test.cpp b/src/mongo/db/free_mon/free_mon_storage_test.cpp
index dc813d35e4b..fee8f984d62 100644
--- a/src/mongo/db/free_mon/free_mon_storage_test.cpp
+++ b/src/mongo/db/free_mon/free_mon_storage_test.cpp
@@ -86,6 +86,9 @@ void FreeMonStorageTest::setUp() {
// Transition to PRIMARY so that the server can accept writes.
ASSERT_OK(_getReplCoord()->setFollowerMode(repl::MemberState::RS_PRIMARY));
+
+ repl::setOplogCollectionName(service);
+ repl::createOplog(_opCtx.get());
}
void FreeMonStorageTest::tearDown() {