summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2019-04-11 20:47:13 +0000
committerSara Golemon <sara.golemon@mongodb.com>2019-04-11 23:28:04 +0000
commitd4dd232efc9fb5a51951ea4af881c3c07f352d5a (patch)
tree0200e10e64fb66ede4045c6001307eb9b89ec9e9 /jstests/auth
parentf0f894395d2676c5b93fc99a978970f0ffce8127 (diff)
downloadmongo-d4dd232efc9fb5a51951ea4af881c3c07f352d5a.tar.gz
SERVER-40553 Filter unauthorized views in listCollections
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/list_collections_filter_views.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/list_collections_filter_views.js b/jstests/auth/list_collections_filter_views.js
index 5667d4dd92c..d17c9d82101 100644
--- a/jstests/auth/list_collections_filter_views.js
+++ b/jstests/auth/list_collections_filter_views.js
@@ -50,7 +50,7 @@
shards: 1,
mongos: 1,
config: 1,
- other: {keyFile: 'jstests/libs/key1'},
+ other: {keyFile: 'jstests/libs/key1', shardAsReplicaSet: false},
});
runTestOnConnection(st.s0);
st.stop();