diff options
author | Randolph Tan <randolph@10gen.com> | 2020-01-09 16:20:10 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-05 19:31:07 +0000 |
commit | c51a36a187405c0d56698a6a3242b8828e387c37 (patch) | |
tree | 98e1f8a4425d727ce924b038082af151643fc859 /jstests/auth | |
parent | 746549116acd3139e64520159e8542387edce0b1 (diff) | |
download | mongo-c51a36a187405c0d56698a6a3242b8828e387c37.tar.gz |
SERVER-42191 Add a new test hook that checks that all orphaned documents are eventually deleted
create mode 100644 jstests/libs/override_methods/check_orphans_are_deleted.js
Diffstat (limited to 'jstests/auth')
-rw-r--r-- | jstests/auth/access_control_with_unreachable_configs.js | 1 | ||||
-rw-r--r-- | jstests/auth/upgrade_noauth_to_keyfile.js | 1 | ||||
-rw-r--r-- | jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/jstests/auth/access_control_with_unreachable_configs.js b/jstests/auth/access_control_with_unreachable_configs.js index 285cb9a9cee..153b569bf62 100644 --- a/jstests/auth/access_control_with_unreachable_configs.js +++ b/jstests/auth/access_control_with_unreachable_configs.js @@ -6,6 +6,7 @@ // The config servers are not reachable at shutdown. TestData.skipCheckingIndexesConsistentAcrossCluster = true; +TestData.skipCheckOrphans = true; var st = new ShardingTest({ shards: 1, diff --git a/jstests/auth/upgrade_noauth_to_keyfile.js b/jstests/auth/upgrade_noauth_to_keyfile.js index 41eef5612c8..add604ec8f2 100644 --- a/jstests/auth/upgrade_noauth_to_keyfile.js +++ b/jstests/auth/upgrade_noauth_to_keyfile.js @@ -11,6 +11,7 @@ load('jstests/multiVersion/libs/multi_rs.js'); // and sharded clusters as a user other than __system. Attempting to advance the clusterTime while // it has been signed with a dummy key results in an authorization error. TestData.skipGossipingClusterTime = true; +TestData.skipCheckOrphans = true; (function() { 'use strict'; diff --git a/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js b/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js index 2f69ccbb3f2..9047c2cddef 100644 --- a/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js +++ b/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js @@ -9,6 +9,7 @@ load('jstests/ssl/libs/ssl_helpers.js'); // IndexConsistencyCheck requires auth which ttA/ttA fails at. TestData.skipCheckingIndexesConsistentAcrossCluster = true; +TestData.skipCheckOrphans = true; // Disable auth explicitly var noAuthOptions = {noauth: ''}; |