summaryrefslogtreecommitdiff
path: root/jstests/ssl/libs/ssl_helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/ssl/libs/ssl_helpers.js')
-rw-r--r--jstests/ssl/libs/ssl_helpers.js7
1 files changed, 0 insertions, 7 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();