diff options
author | Greg McKeon <greg.mckeon@mongodb.com> | 2019-11-06 16:22:22 -0500 |
---|---|---|
committer | Greg McKeon <greg.mckeon@mongodb.com> | 2019-11-08 19:23:44 -0800 |
commit | f2e5ed79d51d55133eda545508e34f47b5f0161f (patch) | |
tree | 58f3f4503042e7b40ebc2586feb9d4011f79a056 | |
parent | b511a045ab9bff4778dbf3bbf87fed6fcb44b9b2 (diff) | |
download | mongo-f2e5ed79d51d55133eda545508e34f47b5f0161f.tar.gz |
Updated core test tags
-rw-r--r-- | jstests/core/currentop_cursors.js | 2 | ||||
-rw-r--r-- | jstests/core/explain_uuid.js | 1 | ||||
-rw-r--r-- | jstests/core/failcommand_failpoint.js | 2 | ||||
-rw-r--r-- | jstests/core/fsync.js | 2 | ||||
-rw-r--r-- | jstests/core/hash.js | 1 | ||||
-rw-r--r-- | jstests/core/index9.js | 3 | ||||
-rw-r--r-- | jstests/core/index_id_options.js | 2 | ||||
-rw-r--r-- | jstests/core/list_all_local_sessions.js | 1 | ||||
-rw-r--r-- | jstests/core/list_indexes.js | 3 | ||||
-rw-r--r-- | jstests/core/list_local_sessions.js | 1 | ||||
-rw-r--r-- | jstests/core/queryoptimizera.js | 2 | ||||
-rw-r--r-- | jstests/core/restart_catalog.js | 2 | ||||
-rw-r--r-- | jstests/core/views/view_with_invalid_dbname.js | 2 |
13 files changed, 15 insertions, 9 deletions
diff --git a/jstests/core/currentop_cursors.js b/jstests/core/currentop_cursors.js index 9cc7e37dcb2..de9d02f1b68 100644 --- a/jstests/core/currentop_cursors.js +++ b/jstests/core/currentop_cursors.js @@ -2,7 +2,7 @@ * Tests that an idle cursor will appear in the $currentOp output if the idleCursors option is * set to true. * - * @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged, requires_capped] + * @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged, requires_capped, uses_multiple_connections] */ (function() { diff --git a/jstests/core/explain_uuid.js b/jstests/core/explain_uuid.js index bee56d4b2a9..4339442176b 100644 --- a/jstests/core/explain_uuid.js +++ b/jstests/core/explain_uuid.js @@ -1,6 +1,7 @@ /** * Test that running explain() providing a collection UUID rather than collection name will fail * cleanly. + * @tags: [expects_auth_parameters] */ (function() { "use strict"; diff --git a/jstests/core/failcommand_failpoint.js b/jstests/core/failcommand_failpoint.js index e78d39e3d50..2cf37eeebc2 100644 --- a/jstests/core/failcommand_failpoint.js +++ b/jstests/core/failcommand_failpoint.js @@ -1,5 +1,5 @@ /* Tests the "failCommand" failpoint. - * @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged] + * @tags: [assumes_read_concern_unchanged, assumes_read_preference_unchanged, uses_testing_only_commands] */ (function() { "use strict"; diff --git a/jstests/core/fsync.js b/jstests/core/fsync.js index bd5526b8bc9..a3b8be9c3c9 100644 --- a/jstests/core/fsync.js +++ b/jstests/core/fsync.js @@ -6,7 +6,7 @@ * - Confirm that writes can progress after fsyncUnlock * - Confirm that the command can be run repeatedly without breaking things * - * @tags: [requires_fastcount, requires_fsync] + * @tags: [requires_fastcount, requires_fsync, assumes_superuser_permissions] */ (function() { "use strict"; diff --git a/jstests/core/hash.js b/jstests/core/hash.js index 4f7cebcdb5a..25d11f4bbc7 100644 --- a/jstests/core/hash.js +++ b/jstests/core/hash.js @@ -4,6 +4,7 @@ * time or across architectures. This is a good place to put tests for any edge cases in the hash * function that might be prone to change because of code changes or because of differences between * architectures. + * @tags: [uses_testing_only_commands] */ (function() { 'use strict'; diff --git a/jstests/core/index9.js b/jstests/core/index9.js index 7bf7ec5ac43..52f6c5bb6fa 100644 --- a/jstests/core/index9.js +++ b/jstests/core/index9.js @@ -1,6 +1,7 @@ // Cannot implicitly shard accessed collections because of collection existing when none // expected. Also, the primary node cannot change because we use the local database in this test. -// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns] +// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns, +// assumes_superuser_permissions] t = db.jstests_index9; diff --git a/jstests/core/index_id_options.js b/jstests/core/index_id_options.js index 91bdce8090f..96bfa6d9727 100644 --- a/jstests/core/index_id_options.js +++ b/jstests/core/index_id_options.js @@ -1,6 +1,6 @@ // Cannot implicitly shard accessed collections because of collection existing when none // expected. Also, the primary node cannot change because we use the local database in this test. -// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns] +// @tags: [assumes_no_implicit_collection_creation_after_drop, does_not_support_stepdowns, assumes_superuser_permissions] // Test creation of the _id index with various options: // - _id indexes must have key pattern {_id: 1}. diff --git a/jstests/core/list_all_local_sessions.js b/jstests/core/list_all_local_sessions.js index 72226dfbb08..c080b39d120 100644 --- a/jstests/core/list_all_local_sessions.js +++ b/jstests/core/list_all_local_sessions.js @@ -8,6 +8,7 @@ // # Sessions are asynchronously flushed to disk, so a stepdown immediately after calling // # startSession may cause this test to fail to find the returned sessionId. // does_not_support_stepdowns, +// assumes_superuser_permissions // ] (function() { diff --git a/jstests/core/list_indexes.js b/jstests/core/list_indexes.js index b5c3ab4f8b9..c9e8c344813 100644 --- a/jstests/core/list_indexes.js +++ b/jstests/core/list_indexes.js @@ -1,6 +1,7 @@ // Cannot implicitly shard accessed collections because of collection existing when none // expected. -// @tags: [assumes_no_implicit_collection_creation_after_drop, requires_getmore] +// @tags: [assumes_no_implicit_collection_creation_after_drop, +// requires_getmore, assumes_superuser_permissions] // Basic functional tests for the listIndexes command. diff --git a/jstests/core/list_local_sessions.js b/jstests/core/list_local_sessions.js index c1ba5799c96..1fa8d9edf90 100644 --- a/jstests/core/list_local_sessions.js +++ b/jstests/core/list_local_sessions.js @@ -8,6 +8,7 @@ // # Sessions are asynchronously flushed to disk, so a stepdown immediately after calling // # startSession may cause this test to fail to find the returned sessionId. // does_not_support_stepdowns, +// assumes_superuser_permissions // ] (function() { diff --git a/jstests/core/queryoptimizera.js b/jstests/core/queryoptimizera.js index f6950c81113..a4b2aed02ec 100644 --- a/jstests/core/queryoptimizera.js +++ b/jstests/core/queryoptimizera.js @@ -1,4 +1,4 @@ -// @tags: [does_not_support_stepdowns, requires_capped] +// @tags: [does_not_support_stepdowns, requires_capped, assumes_superuser_permissions] // Check that a warning message about doing a capped collection scan for a query with an _id // constraint is printed at appropriate times. SERVER-5353 diff --git a/jstests/core/restart_catalog.js b/jstests/core/restart_catalog.js index bf254537239..b00f20d4fe4 100644 --- a/jstests/core/restart_catalog.js +++ b/jstests/core/restart_catalog.js @@ -2,7 +2,7 @@ * Forces the server to restart the catalog and rebuild its in-memory catalog data structures, then * asserts that the server works normally. * @tags: [ - * assumes_read_concern_unchanged, requires_majority_read_concern, + * assumes_read_concern_unchanged, requires_majority_read_concern, uses_testing_only_commands, * * # restartCatalog command is not available on embedded * incompatible_with_embedded, diff --git a/jstests/core/views/view_with_invalid_dbname.js b/jstests/core/views/view_with_invalid_dbname.js index 8305c9970f4..7b36446b341 100644 --- a/jstests/core/views/view_with_invalid_dbname.js +++ b/jstests/core/views/view_with_invalid_dbname.js @@ -3,7 +3,7 @@ // embedded null character (SERVER-36859). // // The 'restartCatalog' command is not available on embedded. -// @tags: [ incompatible_with_embedded, SERVER-38379 ] +// @tags: [ incompatible_with_embedded, SERVER-38379, assumes_superuser_permissions ] (function() { "use strict"; |