summaryrefslogtreecommitdiff
path: root/src/mongo/unittest
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2018-06-21 14:55:01 -0400
committerBlake Oler <blake.oler@mongodb.com>2018-07-02 10:50:53 -0400
commit53a34c4f01d6b18df4c4800df9a72b1eff07fb6a (patch)
tree59dcf1abafee02e14dc8d1d51c43c0965bcaf29d /src/mongo/unittest
parentb3a542545c7367f96d57cab5e89dc389748c0e2c (diff)
downloadmongo-53a34c4f01d6b18df4c4800df9a72b1eff07fb6a.tar.gz
SERVER-35655 Update FCV constants throughout server code.
SERVER-35169 Bump wire protocol version for 4.2. SERVER-35752 Ensure tests that rely on FCV pass after updating FCV constants. SERVER-35163 Unblacklist tests that expect FCV version to differ between "last-stable" and "latest." SERVER-34984 Update major_version_upgrade.js to call setFCV to the latest FCV. SERVER-35656 Ensure a 4.0 mongos crashes upon attempting to connect to an FCV 4.2 cluster. SERVER-35404 Re-enable the sharding_last_stable_mongos_and_mixed_shards suite.
Diffstat (limited to 'src/mongo/unittest')
-rw-r--r--src/mongo/unittest/unittest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/unittest/unittest.cpp b/src/mongo/unittest/unittest.cpp
index f3388758ba0..a1d6a81bdb3 100644
--- a/src/mongo/unittest/unittest.cpp
+++ b/src/mongo/unittest/unittest.cpp
@@ -184,7 +184,7 @@ void Test::run() {
// with a meaningful value will trigger failures as of SERVER-32630.
void Test::setUp() {
serverGlobalParams.featureCompatibility.setVersion(
- ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo40);
+ ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo42);
}
void Test::tearDown() {
serverGlobalParams.featureCompatibility.reset();