summaryrefslogtreecommitdiff
path: root/jstests/auth/mongos_cache_invalidation.js
diff options
context:
space:
mode:
authorCheahuychou Mao <cheahuychou.mao@mongodb.com>2019-10-10 15:42:06 +0000
committerevergreen <evergreen@mongodb.com>2019-10-10 15:42:06 +0000
commit67302fce7cf582fac5cb4b301d90e6358b3719b8 (patch)
tree10d19c4f05c6f400480c197266981360017e7ce5 /jstests/auth/mongos_cache_invalidation.js
parentfaa0ec0def1317f9005d3b0935aff83666f47404 (diff)
downloadmongo-67302fce7cf582fac5cb4b301d90e6358b3719b8.tar.gz
SERVER-38875 Make tests start shards as replica sets instead of standalones after auth cluster time gossiping fix
Diffstat (limited to 'jstests/auth/mongos_cache_invalidation.js')
-rw-r--r--jstests/auth/mongos_cache_invalidation.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/auth/mongos_cache_invalidation.js b/jstests/auth/mongos_cache_invalidation.js
index 8e8e706d76a..fd7ef98e4f9 100644
--- a/jstests/auth/mongos_cache_invalidation.js
+++ b/jstests/auth/mongos_cache_invalidation.js
@@ -10,7 +10,6 @@ var hasAuthzError = function(result) {
assert.eq(authzErrorCode, result.code);
};
-// TODO: Remove 'shardAsReplicaSet: false' when SERVER-32672 is fixed.
var st = new ShardingTest({
shards: 2,
config: 3,
@@ -19,8 +18,7 @@ var st = new ShardingTest({
{setParameter: "userCacheInvalidationIntervalSecs=5"},
{setParameter: "userCacheInvalidationIntervalSecs=600"}
],
- keyFile: 'jstests/libs/key1',
- other: {shardAsReplicaSet: false}
+ keyFile: 'jstests/libs/key1'
});
st.s1.getDB('admin').createUser({user: 'root', pwd: 'pwd', roles: ['root']});