summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2021-04-01 13:11:59 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-01 19:11:02 +0000
commit5341d2f7c31458264dbb47518930a6f660adf76a (patch)
tree075fc9cfc31bfd9c54db63d6148676fbe010acd3 /jstests
parent7d124eda112e29ae7fe84505adcd963248134c70 (diff)
downloadmongo-5341d2f7c31458264dbb47518930a6f660adf76a.tar.gz
SERVER-55716: Have fcv_gate_resharding_collection reference the `latestFCV` value.
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/fcv_gate_resharding_collection.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/fcv_gate_resharding_collection.js b/jstests/noPassthrough/fcv_gate_resharding_collection.js
index f825f248f0c..8fdbb0356e5 100644
--- a/jstests/noPassthrough/fcv_gate_resharding_collection.js
+++ b/jstests/noPassthrough/fcv_gate_resharding_collection.js
@@ -4,7 +4,7 @@
*
* TODO SERVER-55470: This test should be removed when 5.0 becomes the lastLTS.
*
- * @tags: [multiversion_incompatible, requires_replication, requires_fcv_49]
+ * @tags: [multiversion_incompatible, requires_replication]
*/
(function() {
"use strict";
@@ -17,7 +17,7 @@ const primary = rst.getPrimary();
assert.commandWorked(primary.adminCommand({setFeatureCompatibilityVersion: "4.4"}));
assert.commandFailedWithCode(primary.getDB("foo").createCollection("system.resharding.123"),
ErrorCodes.InvalidNamespace);
-assert.commandWorked(primary.adminCommand({setFeatureCompatibilityVersion: "4.9"}));
+assert.commandWorked(primary.adminCommand({setFeatureCompatibilityVersion: latestFCV}));
assert.commandWorked(primary.getDB("foo").createCollection("system.resharding.123"));
assert.commandWorked(primary.adminCommand({setFeatureCompatibilityVersion: "4.4"}));
assert.commandWorked(primary.getDB("foo").runCommand({"drop": "system.resharding.123"}));