summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/dbtests.cpp
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2017-09-28 16:40:49 -0400
committerLouis Williams <louis.williams@mongodb.com>2017-09-28 16:40:49 -0400
commit0309fa8091bdf7d6663a02fefd5d61ae0965e7b1 (patch)
tree685732dc627d5a2ea75f69a3c965388f82137a6a /src/mongo/dbtests/dbtests.cpp
parent20a128d3922a3f83f3769ee80ebb4fd607251888 (diff)
downloadmongo-0309fa8091bdf7d6663a02fefd5d61ae0965e7b1.tar.gz
Revert "SERVER-31209 Persist targetVersion in FCV document to indicate an upgrade/downgrade in progress."
This reverts commit b0b99866781302ba8b16de033ff2681f20483c14.
Diffstat (limited to 'src/mongo/dbtests/dbtests.cpp')
-rw-r--r--src/mongo/dbtests/dbtests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp
index 8721fc4dd48..c4f26023093 100644
--- a/src/mongo/dbtests/dbtests.cpp
+++ b/src/mongo/dbtests/dbtests.cpp
@@ -123,6 +123,7 @@ int dbtestsMain(int argc, char** argv, char** envp) {
mongo::runGlobalInitializersOrDie(argc, argv, envp);
serverGlobalParams.featureCompatibility.version.store(
ServerGlobalParams::FeatureCompatibility::Version::k36);
+ serverGlobalParams.featureCompatibility.isSchemaVersion36.store(true);
repl::ReplSettings replSettings;
replSettings.setOplogSizeBytes(10 * 1024 * 1024);
ServiceContext* service = getGlobalServiceContext();