diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-04-16 00:31:24 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-09-07 19:01:49 -0400 |
commit | 734fac1d52a2203d5053bb0bdd5af9edd35d61e8 (patch) | |
tree | faf5119d1f09a076be0c8d4dcc61fd94b4e57529 /jstests/core | |
parent | f3acd4a1e259b1f1fcdd51d23ad2519369257dbf (diff) | |
download | mongo-734fac1d52a2203d5053bb0bdd5af9edd35d61e8.tar.gz |
SERVER-34384 Add passthrough test for secondary reads
(cherry picked from commit d62890ffeacd2e911ff4a36f01bdef498c101c07)
Diffstat (limited to 'jstests/core')
-rw-r--r-- | jstests/core/apitest_dbcollection.js | 5 | ||||
-rw-r--r-- | jstests/core/auth1.js | 2 | ||||
-rw-r--r-- | jstests/core/auth_copydb.js | 7 | ||||
-rw-r--r-- | jstests/core/connection_status.js | 6 | ||||
-rw-r--r-- | jstests/core/rename7.js | 2 | ||||
-rw-r--r-- | jstests/core/role_management_helpers.js | 6 | ||||
-rw-r--r-- | jstests/core/user_management_helpers.js | 6 | ||||
-rw-r--r-- | jstests/core/validate_user_documents.js | 6 |
8 files changed, 32 insertions, 8 deletions
diff --git a/jstests/core/apitest_dbcollection.js b/jstests/core/apitest_dbcollection.js index 5efde96f939..993a2ad1ea2 100644 --- a/jstests/core/apitest_dbcollection.js +++ b/jstests/core/apitest_dbcollection.js @@ -1,7 +1,10 @@ /** * Tests for the db collection * - * @tags: [requires_fastcount] + * @tags: [ + * requires_fastcount, + * requires_collstats, + * ] */ /* diff --git a/jstests/core/auth1.js b/jstests/core/auth1.js index d6b7bf152e6..05450d14ddc 100644 --- a/jstests/core/auth1.js +++ b/jstests/core/auth1.js @@ -1,4 +1,4 @@ -// @tags: [requires_non_retryable_commands] +// @tags: [requires_non_retryable_commands, requires_auth, assumes_write_concern_unchanged] var mydb = db.getSiblingDB('auth1_db'); mydb.dropAllUsers(); diff --git a/jstests/core/auth_copydb.js b/jstests/core/auth_copydb.js index 17842256d80..b8a85ae1c03 100644 --- a/jstests/core/auth_copydb.js +++ b/jstests/core/auth_copydb.js @@ -1,4 +1,9 @@ -// @tags: [requires_non_retryable_commands, requires_fastcount] +// @tags: [ +// requires_non_retryable_commands, +// requires_fastcount, +// requires_auth, +// assumes_write_concern_unchanged +// ] a = db.getSisterDB("copydb2-test-a"); b = db.getSisterDB("copydb2-test-b"); diff --git a/jstests/core/connection_status.js b/jstests/core/connection_status.js index c769aabf284..df1c59ab234 100644 --- a/jstests/core/connection_status.js +++ b/jstests/core/connection_status.js @@ -1,4 +1,8 @@ -// @tags: [requires_non_retryable_commands] +// @tags: [ +// requires_non_retryable_commands, +// requires_auth, +// assumes_write_concern_unchanged +// ] // Tests the connectionStatus command (function() { diff --git a/jstests/core/rename7.js b/jstests/core/rename7.js index 9b318e91c59..10a9250f3be 100644 --- a/jstests/core/rename7.js +++ b/jstests/core/rename7.js @@ -1,4 +1,4 @@ -// @tags: [requires_non_retryable_commands, requires_fastcount] +// @tags: [requires_non_retryable_commands, requires_fastcount, requires_collstats] // *************************************************************** // rename7.js diff --git a/jstests/core/role_management_helpers.js b/jstests/core/role_management_helpers.js index d467e2ac099..445d85cc74e 100644 --- a/jstests/core/role_management_helpers.js +++ b/jstests/core/role_management_helpers.js @@ -1,4 +1,8 @@ -// @tags: [requires_non_retryable_commands] +// @tags: [ +// requires_non_retryable_commands, +// requires_auth, +// assumes_write_concern_unchanged, +// ] // This test is a basic sanity check of the shell helpers for manipulating role objects // It is not a comprehensive test of the functionality of the role manipulation commands diff --git a/jstests/core/user_management_helpers.js b/jstests/core/user_management_helpers.js index 59aba33e8c9..2b5abe9a388 100644 --- a/jstests/core/user_management_helpers.js +++ b/jstests/core/user_management_helpers.js @@ -1,4 +1,8 @@ -// @tags: [requires_non_retryable_commands] +// @tags: [ +// requires_non_retryable_commands, +// requires_auth, +// assumes_write_concern_unchanged +// ] // This test is a basic sanity check of the shell helpers for manipulating user objects // It is not a comprehensive test of the functionality of the user manipulation commands diff --git a/jstests/core/validate_user_documents.js b/jstests/core/validate_user_documents.js index 7a523a75183..a9b2b96d526 100644 --- a/jstests/core/validate_user_documents.js +++ b/jstests/core/validate_user_documents.js @@ -1,4 +1,8 @@ -// @tags: [requires_non_retryable_commands] +// @tags: [ +// requires_non_retryable_commands, +// requires_auth, +// assumes_write_concern_unchanged +// ] // Ensure that inserts and updates of the system.users collection validate the schema of inserted // documents. |