summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2023-04-17 22:11:41 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-24 01:33:22 +0000
commite3e4b4d6a54a671e564d8bd9e4b34188ab4accd0 (patch)
tree333062c1c55466d24c256efbc666e37008046a26 /jstests/core
parentbd7b3ee926b2cd488c0c71c4208d5737345f7ed8 (diff)
downloadmongo-e3e4b4d6a54a671e564d8bd9e4b34188ab4accd0.tar.gz
SERVER-76310 Use config shard terminology instead of catalog shard
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/views/views_all_commands.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/jstests/core/views/views_all_commands.js b/jstests/core/views/views_all_commands.js
index 08e1b223619..40034d1e080 100644
--- a/jstests/core/views/views_all_commands.js
+++ b/jstests/core/views/views_all_commands.js
@@ -76,6 +76,7 @@
"use strict";
load('jstests/sharding/libs/last_lts_mongod_commands.js');
+load('jstests/sharding/libs/last_lts_mongos_commands.js');
// Pre-written reasons for skipping a test.
const isAnInternalCommand = "internal command";
@@ -127,7 +128,7 @@ let viewsCommandTests = {
_configsvrSetAllowMigrations: {skip: isAnInternalCommand},
_configsvrSetClusterParameter: {skip: isAnInternalCommand},
_configsvrSetUserWriteBlockMode: {skip: isAnInternalCommand},
- _configsvrTransitionToCatalogShard: {skip: isAnInternalCommand},
+ _configsvrTransitionFromDedicatedConfigServer: {skip: isAnInternalCommand},
_configsvrTransitionToDedicatedConfigServer: {skip: isAnInternalCommand},
_configsvrUpdateZoneKeyRange: {skip: isAnInternalCommand},
_flushDatabaseCacheUpdates: {skip: isUnrelated},
@@ -726,7 +727,7 @@ let viewsCommandTests = {
testVersion2: {skip: isAnInternalCommand},
testVersions1And2: {skip: isAnInternalCommand},
top: {skip: "tested in views/views_stats.js"},
- transitionToCatalogShard: {skip: isUnrelated},
+ transitionFromDedicatedConfigServer: {skip: isUnrelated},
transitionToDedicatedConfigServer: {skip: isUnrelated},
update: {command: {update: "view", updates: [{q: {x: 1}, u: {x: 2}}]}, expectFailure: true},
updateRole: {
@@ -764,6 +765,10 @@ commandsRemovedFromMongodSinceLastLTS.forEach(function(cmd) {
viewsCommandTests[cmd] = {skip: "must define test coverage for backwards compatibility"};
});
+commandsRemovedFromMongosSinceLastLTS.forEach(function(cmd) {
+ viewsCommandTests[cmd] = {skip: "must define test coverage for backwards compatibility"};
+});
+
/**
* Helper function for failing commands or writes that checks the result 'res' of either.
* If 'code' is null we only check for failure, otherwise we confirm error code matches as