summaryrefslogtreecommitdiff
path: root/jstests/auth/copyauth.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/auth/copyauth.js')
-rw-r--r--jstests/auth/copyauth.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/auth/copyauth.js b/jstests/auth/copyauth.js
index d93e726eaa1..0bad123cb98 100644
--- a/jstests/auth/copyauth.js
+++ b/jstests/auth/copyauth.js
@@ -4,6 +4,11 @@
TestData.authMechanism = "SCRAM-SHA-1"; // SERVER-11428
DB.prototype._defaultAuthenticationMechanism = "SCRAM-SHA-1"; // SERVER-11428
+// We turn off gossiping the mongo shell's clusterTime because this test connects to replica sets
+// 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;
+
var baseName = "jstests_clone_copyauth";
/*