summaryrefslogtreecommitdiff
path: root/jstests/ssl
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2020-02-05 17:37:00 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-05 22:53:39 +0000
commit134a81cad1d62af9327bf9df19c5720c6e72fe9e (patch)
tree4aeda882b3dfca25585a67b3430b8418c34d9a8b /jstests/ssl
parentb0c5c0baa85fba563c80ee416cecc22e9ffbf53a (diff)
downloadmongo-134a81cad1d62af9327bf9df19c5720c6e72fe9e.tar.gz
Revert "SERVER-42191 Add a new test hook that checks that all orphaned documents are eventually deleted"
This reverts commit c51a36a187405c0d56698a6a3242b8828e387c37. delete mode 100644 jstests/libs/override_methods/check_orphans_are_deleted.js
Diffstat (limited to 'jstests/ssl')
-rw-r--r--jstests/ssl/libs/ssl_helpers.js7
-rw-r--r--jstests/ssl/sharding_with_x509.js4
-rw-r--r--jstests/ssl/sni_name_advertisement.js1
-rw-r--r--jstests/ssl/ssl_get_more.js3
4 files changed, 0 insertions, 15 deletions
diff --git a/jstests/ssl/libs/ssl_helpers.js b/jstests/ssl/libs/ssl_helpers.js
index 969a812c8ed..65ba385b321 100644
--- a/jstests/ssl/libs/ssl_helpers.js
+++ b/jstests/ssl/libs/ssl_helpers.js
@@ -204,13 +204,6 @@ function mixedShardTest(options1, options2, shouldSucceed, disableResumableRange
'CN=client,OU=KernelUser,O=MongoDB,L=New York City,ST=New York,C=US';
st.s.getDB('$external')
.createUser({user: x509User, roles: [{role: '__system', db: 'admin'}]});
-
- // Check orphan hook needs a privileged user to auth as.
- // Works only for stand alone shards.
- st._connections.forEach((shardConn) => {
- shardConn.getDB('$external')
- .createUser({user: x509User, roles: [{role: '__system', db: 'admin'}]});
- });
}
st.stop();
diff --git a/jstests/ssl/sharding_with_x509.js b/jstests/ssl/sharding_with_x509.js
index 7e0a0903296..df071ce3b97 100644
--- a/jstests/ssl/sharding_with_x509.js
+++ b/jstests/ssl/sharding_with_x509.js
@@ -82,9 +82,5 @@ if (st.configRS) {
const x509User = 'CN=client,OU=KernelUser,O=MongoDB,L=New York City,ST=New York,C=US';
st.s.getDB('$external').createUser({user: x509User, roles: [{role: '__system', db: 'admin'}]});
-// Orphan checks needs a privileged user to auth as.
-st.shard0.getDB('$external').createUser({user: x509User, roles: [{role: '__system', db: 'admin'}]});
-st.shard1.getDB('$external').createUser({user: x509User, roles: [{role: '__system', db: 'admin'}]});
-
st.stop();
})();
diff --git a/jstests/ssl/sni_name_advertisement.js b/jstests/ssl/sni_name_advertisement.js
index 938f7ceb230..d945703b4aa 100644
--- a/jstests/ssl/sni_name_advertisement.js
+++ b/jstests/ssl/sni_name_advertisement.js
@@ -8,7 +8,6 @@ load('jstests/ssl/libs/ssl_helpers.js');
// Checking index consistency involves reconnecting to the mongos.
TestData.skipCheckingIndexesConsistentAcrossCluster = true;
-TestData.skipCheckOrphans = true;
let path = "jstests/libs/";
let pemKeyFile = path + "server.pem";
diff --git a/jstests/ssl/ssl_get_more.js b/jstests/ssl/ssl_get_more.js
index f7cf987d660..37e4e2acb1d 100644
--- a/jstests/ssl/ssl_get_more.js
+++ b/jstests/ssl/ssl_get_more.js
@@ -62,8 +62,5 @@ if (st.configRS) {
const x509User = 'CN=client,OU=KernelUser,O=MongoDB,L=New York City,ST=New York,C=US';
st.s.getDB('$external').createUser({user: x509User, roles: [{role: '__system', db: 'admin'}]});
-// Orphan checks needs a privileged user to auth as.
-st.shard0.getDB('$external').createUser({user: x509User, roles: [{role: '__system', db: 'admin'}]});
-
st.stop();
}());