diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2020-08-04 14:46:30 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-05 16:27:25 +0000 |
commit | 14ef67e5d039a491ef897edd49bd7d075a18029c (patch) | |
tree | b8278aac606f85d5515f33fdd22d0dd0bfa3b3f4 /jstests/core | |
parent | 9e4b6e5c2f9e266ed05ce7c913631f12548e4160 (diff) | |
download | mongo-14ef67e5d039a491ef897edd49bd7d075a18029c.tar.gz |
SERVER-50099: Update requires_fcv_46 and need_fixing_for_46 to 47
Diffstat (limited to 'jstests/core')
29 files changed, 38 insertions, 38 deletions
diff --git a/jstests/core/apitest_db_profile_level.js b/jstests/core/apitest_db_profile_level.js index 163be0020d2..733c4df8741 100644 --- a/jstests/core/apitest_db_profile_level.js +++ b/jstests/core/apitest_db_profile_level.js @@ -1,6 +1,6 @@ /** * Tests for setting of profile levels - * @tags: [does_not_support_stepdowns, requires_profiling, requires_fcv_46] + * @tags: [does_not_support_stepdowns, requires_profiling, requires_fcv_47] */ (function() { diff --git a/jstests/core/apply_ops1.js b/jstests/core/apply_ops1.js index baa156974a5..9a18b351e5e 100644 --- a/jstests/core/apply_ops1.js +++ b/jstests/core/apply_ops1.js @@ -5,7 +5,7 @@ // # applyOps uses the oplog that require replication support // requires_replication, // # Uses $v: 2 update oplog entries, only available in 4.7+. -// requires_fcv_46, +// requires_fcv_47, // ] (function() { diff --git a/jstests/core/bypass_doc_validation.js b/jstests/core/bypass_doc_validation.js index 7e395c5b79d..f44ede8bc56 100644 --- a/jstests/core/bypass_doc_validation.js +++ b/jstests/core/bypass_doc_validation.js @@ -4,7 +4,7 @@ // requires_non_retryable_commands, // uses_$out, // uses_map_reduce_with_temp_collections, -// requires_fcv_46, +// requires_fcv_47, // ] /** diff --git a/jstests/core/collMod_index_invalid_option.js b/jstests/core/collMod_index_invalid_option.js index ee53c7bbed2..797f025ad19 100644 --- a/jstests/core/collMod_index_invalid_option.js +++ b/jstests/core/collMod_index_invalid_option.js @@ -2,7 +2,7 @@ * Tests that collMod fails when an unrecognized field is included in its 'index' option. * * @tags: [ - * requires_fcv_46, + * requires_fcv_47, * requires_non_retryable_commands * ] */ @@ -17,4 +17,4 @@ assert.commandFailedWithCode(db.runCommand({ index: {keyPattern: {a: 1}, expireAfterSeconds: 200, invalidOption: 1} }), ErrorCodes.InvalidOptions); -})();
\ No newline at end of file +})(); diff --git a/jstests/core/command_json_schema_field.js b/jstests/core/command_json_schema_field.js index 5c7a60f3309..8f404ea23b9 100644 --- a/jstests/core/command_json_schema_field.js +++ b/jstests/core/command_json_schema_field.js @@ -2,7 +2,7 @@ * FLE-supported commands that contain an invalid 'jsonSchema' field should return to the user a * more specific error message for diagnostic purposes. * - * @tags: [requires_fcv_46, requires_non_retryable_writes] + * @tags: [requires_fcv_47, requires_non_retryable_writes] */ (function() { 'use strict'; @@ -49,4 +49,4 @@ assertCommandFailsWithCorrectError( // Explain assertCommandFailsWithCorrectError({explain: {count: coll.getName()}, jsonSchema: {}}, ErrorCodes.FailedToParse); -}());
\ No newline at end of file +}()); diff --git a/jstests/core/command_let_variables.js b/jstests/core/command_let_variables.js index cd0a63425e6..38fe91d6aec 100644 --- a/jstests/core/command_let_variables.js +++ b/jstests/core/command_let_variables.js @@ -1,6 +1,6 @@ // Tests that commands like find, aggregate and update accepts a 'let' parameter which defines // variables for use in expressions within the command. -// @tags: [requires_fcv_46] +// @tags: [requires_fcv_47] // (function() { "use strict"; diff --git a/jstests/core/covered_index_sort_no_fetch_optimization.js b/jstests/core/covered_index_sort_no_fetch_optimization.js index 15ab4e3621b..ad2b1697359 100644 --- a/jstests/core/covered_index_sort_no_fetch_optimization.js +++ b/jstests/core/covered_index_sort_no_fetch_optimization.js @@ -8,7 +8,7 @@ * @tags: [ * assumes_unsharded_collection, * # Sort optimizations added for hashed indexes in 4.7 can generate a different plan. - * requires_fcv_46 + * requires_fcv_47 * ] */ (function() { diff --git a/jstests/core/disallow_system_views_user_writes.js b/jstests/core/disallow_system_views_user_writes.js index 0926a0c5a69..821d6ef5166 100644 --- a/jstests/core/disallow_system_views_user_writes.js +++ b/jstests/core/disallow_system_views_user_writes.js @@ -3,7 +3,7 @@ * * @tags: [ * requires_non_retryable_writes, - * requires_fcv_46, + * requires_fcv_47, * ] */ (function() { @@ -25,4 +25,4 @@ assert.commandFailedWithCode( db.runCommand({findAndModify: "system.views", query: {}, update: invalidField}), ErrorCodes.InvalidNamespace); assert.commandFailedWithCode(db.system.views.remove({}), ErrorCodes.InvalidNamespace); -})();
\ No newline at end of file +})(); diff --git a/jstests/core/doc_validation.js b/jstests/core/doc_validation.js index 14ac02b6bea..93deff56da9 100644 --- a/jstests/core/doc_validation.js +++ b/jstests/core/doc_validation.js @@ -5,7 +5,7 @@ // requires_non_retryable_commands, // requires_non_retryable_writes, // requires_fastcount, -// requires_fcv_46, +// requires_fcv_47, // ] // Test basic inserts and updates with document validation. diff --git a/jstests/core/doc_validation_encrypt_keywords.js b/jstests/core/doc_validation_encrypt_keywords.js index 945a50e1151..d7220675db1 100644 --- a/jstests/core/doc_validation_encrypt_keywords.js +++ b/jstests/core/doc_validation_encrypt_keywords.js @@ -4,7 +4,7 @@ // Cannot implicitly shard accessed collections because of collection existing when none // expected. // @tags: [assumes_no_implicit_collection_creation_after_drop, requires_non_retryable_commands, -// requires_fcv_46] +// requires_fcv_47] (function() { "use strict"; diff --git a/jstests/core/explain_validation.js b/jstests/core/explain_validation.js index 7c29caa9d72..4a1dcb8e850 100644 --- a/jstests/core/explain_validation.js +++ b/jstests/core/explain_validation.js @@ -2,7 +2,7 @@ * Tests that an unknown field in the explain command will be rejected while generic command * arguments will be permitted to pass validation. * - * @tags: [requires_fcv_46] + * @tags: [requires_fcv_47] */ (function() { @@ -20,4 +20,4 @@ assert.commandFailedWithCode(testDB.runCommand({explain: {find: "test"}, unknown // Test that a generic argument will be accepted by command parsing. assert.commandWorked(testDB.runCommand({explain: {find: "test"}, comment: true})); -})();
\ No newline at end of file +})(); diff --git a/jstests/core/expr.js b/jstests/core/expr.js index d468b3a421e..db69ba2dc8a 100644 --- a/jstests/core/expr.js +++ b/jstests/core/expr.js @@ -4,7 +4,7 @@ // requires_non_retryable_writes, // # Explain reports errors from $expr differently in 4.4 and older, so this test assumes that all // # nodes are at least binary version 4.7. -// requires_fcv_46, +// requires_fcv_47, // ] // Tests for $expr in the CRUD commands. diff --git a/jstests/core/field_name_validation.js b/jstests/core/field_name_validation.js index e1c8f390f72..50182331fdd 100644 --- a/jstests/core/field_name_validation.js +++ b/jstests/core/field_name_validation.js @@ -7,7 +7,7 @@ * * contained in a top-level element, embedded element, and within _id. * - * @tags: [assumes_unsharded_collection, requires_fcv_46] + * @tags: [assumes_unsharded_collection, requires_fcv_47] */ (function() { "use strict"; diff --git a/jstests/core/find_and_modify_metrics.js b/jstests/core/find_and_modify_metrics.js index 7c71ba4ee5c..ed2167586f1 100644 --- a/jstests/core/find_and_modify_metrics.js +++ b/jstests/core/find_and_modify_metrics.js @@ -3,7 +3,7 @@ * counters of the findAndModify command. * * @tags: [ - * requires_fcv_46, + * requires_fcv_47, * # The test relies on the precise number of executions of commands. * requires_non_retryable_writes, * # The test is designed to work with an unsharded collection. @@ -75,4 +75,4 @@ serverStatusAfterTest = testDB.serverStatus(); assert.eq(serverStatusBeforeTest.metrics.commands.findAndModify.arrayFilters + 1, serverStatusAfterTest.metrics.commands.findAndModify.arrayFilters, `Before: ${tojson(serverStatusBeforeTest)}, after: ${tojson(serverStatusAfterTest)}`); -})();
\ No newline at end of file +})(); diff --git a/jstests/core/fts_find_and_modify.js b/jstests/core/fts_find_and_modify.js index 3fedd63bf08..607b6273d35 100644 --- a/jstests/core/fts_find_and_modify.js +++ b/jstests/core/fts_find_and_modify.js @@ -7,7 +7,7 @@ * assumes_unsharded_collection, * # We chose not to backport the bug fix for $text + findAndModify to the 4.4 branch, so all * # nodes must be at least binary version 4.7. - * requires_fcv_46, + * requires_fcv_47, * # Ban in any configurations that require retryable writes. Although findAndModify is a * # retryable write command, the 'fields' option does not currently work with retryable writes. * # See SERVER-31242. diff --git a/jstests/core/get_more_cmd_refuses_api_params.js b/jstests/core/get_more_cmd_refuses_api_params.js index 61ebd19a7eb..794e2a0221e 100644 --- a/jstests/core/get_more_cmd_refuses_api_params.js +++ b/jstests/core/get_more_cmd_refuses_api_params.js @@ -1,6 +1,6 @@ /** * Tests that passing API parameters into 'getMore' commands should fail. - * @tags: [requires_getmore, requires_fcv_46] + * @tags: [requires_getmore, requires_fcv_47] */ (function() { diff --git a/jstests/core/hashed_index_sort.js b/jstests/core/hashed_index_sort.js index c3f6dd8d6c7..5f8d87a752a 100644 --- a/jstests/core/hashed_index_sort.js +++ b/jstests/core/hashed_index_sort.js @@ -6,7 +6,7 @@ * assumes_unsharded_collection, * # Sort optimizations added in 4.7 can generate a different plan in the presence of equality * # predicates. - * requires_fcv_46 + * requires_fcv_47 * ] */ (function() { diff --git a/jstests/core/index_partial_create_drop.js b/jstests/core/index_partial_create_drop.js index fa5229fa58f..706e787ee71 100644 --- a/jstests/core/index_partial_create_drop.js +++ b/jstests/core/index_partial_create_drop.js @@ -6,7 +6,7 @@ // # Builds index in the background // requires_background_index, // -// requires_fcv_46, +// requires_fcv_47, // ] // Test partial index creation and drops. diff --git a/jstests/core/index_partial_read_ops.js b/jstests/core/index_partial_read_ops.js index a88448d750f..31ee6009b12 100644 --- a/jstests/core/index_partial_read_ops.js +++ b/jstests/core/index_partial_read_ops.js @@ -1,6 +1,6 @@ // Cannot implicitly shard accessed collections because the explain output from a mongod when run // against a sharded collection is wrapped in a "shards" object with keys for each shard. -// @tags: [assumes_unsharded_collection, does_not_support_stepdowns, requires_fcv_46] +// @tags: [assumes_unsharded_collection, does_not_support_stepdowns, requires_fcv_47] // Read ops tests for partial indexes. diff --git a/jstests/core/index_signature.js b/jstests/core/index_signature.js index 5a45dd917c1..206d9877395 100644 --- a/jstests/core/index_signature.js +++ b/jstests/core/index_signature.js @@ -3,7 +3,7 @@ * which uniquely identify an index. Multiple indexes can be created on the same key pattern if * their signature parameters differ. * - * @tags: [requires_fcv_46, requires_non_retryable_writes] + * @tags: [requires_fcv_47, requires_non_retryable_writes] */ (function() { "use strict"; diff --git a/jstests/core/kill_cursors.js b/jstests/core/kill_cursors.js index 4531e761893..09184005c11 100644 --- a/jstests/core/kill_cursors.js +++ b/jstests/core/kill_cursors.js @@ -1,7 +1,7 @@ // @tags: [ // does_not_support_stepdowns, // uses_testing_only_commands, -// requires_fcv_46, +// requires_fcv_47, // ] // // Does not support stepdowns because if a stepdown were to occur between running find() and diff --git a/jstests/core/push_sort.js b/jstests/core/push_sort.js index 05a64b88f12..4bd6485b29c 100644 --- a/jstests/core/push_sort.js +++ b/jstests/core/push_sort.js @@ -1,4 +1,4 @@ -// @tags: [requires_non_retryable_writes, requires_fcv_46] +// @tags: [requires_non_retryable_writes, requires_fcv_47] // // $push acquired the possibility of sorting the resulting array as part of SERVER-8008. This diff --git a/jstests/core/sample_rate.js b/jstests/core/sample_rate.js index 3f0dda1ffe7..e22b82c3bed 100644 --- a/jstests/core/sample_rate.js +++ b/jstests/core/sample_rate.js @@ -1,6 +1,6 @@ /** * Test the $sampleRate match expression. - * @tags: [requires_fcv_46] + * @tags: [requires_fcv_47] */ (function() { "use strict"; diff --git a/jstests/core/update_metrics.js b/jstests/core/update_metrics.js index c40bd180e10..42f4d56455d 100644 --- a/jstests/core/update_metrics.js +++ b/jstests/core/update_metrics.js @@ -3,7 +3,7 @@ * the update command. * * @tags: [ - * requires_fcv_46, + * requires_fcv_47, * # The test relies on the precise number of executions of commands. * requires_non_retryable_writes, * # The test is designed to work with an unsharded collection. @@ -76,4 +76,4 @@ serverStatusAfterTest = testDB.serverStatus(); assert.eq(serverStatusBeforeTest.metrics.commands.update.arrayFilters + 2, serverStatusAfterTest.metrics.commands.update.arrayFilters, `Before: ${tojson(serverStatusBeforeTest)}, after: ${tojson(serverStatusAfterTest)}`); -})();
\ No newline at end of file +})(); diff --git a/jstests/core/update_with_pipeline.js b/jstests/core/update_with_pipeline.js index 891d9feb83e..70a6564c92f 100644 --- a/jstests/core/update_with_pipeline.js +++ b/jstests/core/update_with_pipeline.js @@ -4,7 +4,7 @@ * 'requires_find_command' needed to prevent this test from running with 'compatibility' write mode * as pipeline-style update is not supported by OP_UPDATE. * - * @tags: [requires_find_command, requires_non_retryable_writes, requires_fcv_46] + * @tags: [requires_find_command, requires_non_retryable_writes, requires_fcv_47] */ (function() { "use strict"; diff --git a/jstests/core/updateh.js b/jstests/core/updateh.js index e647fb4bfb8..7e3d5ae0a59 100644 --- a/jstests/core/updateh.js +++ b/jstests/core/updateh.js @@ -1,7 +1,7 @@ // Cannot implicitly shard accessed collections because of following errmsg: A single // update/delete on a sharded collection must contain an exact match on _id or contain the shard // key. -// @tags: [assumes_unsharded_collection, requires_fcv_46] +// @tags: [assumes_unsharded_collection, requires_fcv_47] // Allow $ in field names (as of SERVER-49117) var res; diff --git a/jstests/core/version_api_field_parsing.js b/jstests/core/version_api_field_parsing.js index 69505698559..c81f2decb19 100644 --- a/jstests/core/version_api_field_parsing.js +++ b/jstests/core/version_api_field_parsing.js @@ -1,7 +1,7 @@ /** * Checks that the server properly parses "API Version" parameters * - * @tags: [requires_fcv_46] + * @tags: [requires_fcv_47] */ (function() { @@ -65,4 +65,4 @@ assert.commandFailedWithCode( db.runCommand({testDeprecation: 1, apiVersion: "1", apiDeprecationErrors: true}), ErrorCodes.APIDeprecationError, "Provided apiDeprecationErrors: true, but the invoked command's deprecatedApiVersions() does not include \"1\""); -})();
\ No newline at end of file +})(); diff --git a/jstests/core/version_api_list_commands_verification.js b/jstests/core/version_api_list_commands_verification.js index 8836398e918..f1a64953ee6 100644 --- a/jstests/core/version_api_list_commands_verification.js +++ b/jstests/core/version_api_list_commands_verification.js @@ -1,7 +1,7 @@ /** * Checks that listCommands returns the API Version information of a command. * - * @tags: [requires_fcv_46, requires_non_retryable_commands] + * @tags: [requires_fcv_47, requires_non_retryable_commands] */ (function() { @@ -16,4 +16,4 @@ assert(JSON.stringify(serverStatus.apiVersions) == "[]"); assert(JSON.stringify(serverStatus.deprecatedApiVersions) == "[]"); assert(JSON.stringify(testDeprecation.apiVersions) == "[\"1\"]"); assert(JSON.stringify(testDeprecation.deprecatedApiVersions) == "[\"1\"]"); -})();
\ No newline at end of file +})(); diff --git a/jstests/core/version_api_v1_command_coverage.js b/jstests/core/version_api_v1_command_coverage.js index 7364990f48e..2a1ee856d9e 100644 --- a/jstests/core/version_api_v1_command_coverage.js +++ b/jstests/core/version_api_v1_command_coverage.js @@ -2,7 +2,7 @@ * Checks that commands included/omitted in API V1 behave correctly with various combinations of API * parameters. * - * @tags: [requires_fcv_46, requires_non_retryable_commands] + * @tags: [requires_fcv_47, requires_non_retryable_commands] */ (function() { @@ -78,4 +78,4 @@ for (let {cmd, apiVersion1} of commands) { } } } -})();
\ No newline at end of file +})(); |