diff options
Diffstat (limited to 'jstests/auth/list_local_sessions.js')
-rw-r--r-- | jstests/auth/list_local_sessions.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/jstests/auth/list_local_sessions.js b/jstests/auth/list_local_sessions.js index 40cc66d991e..4693d694666 100644 --- a/jstests/auth/list_local_sessions.js +++ b/jstests/auth/list_local_sessions.js @@ -60,8 +60,13 @@ runListLocalSessionsTest(mongod); MongoRunner.stopMongod(mongod); - const st = - new ShardingTest({shards: 1, mongos: 1, config: 1, other: {keyFile: 'jstests/libs/key1'}}); + // TODO: Remove 'shardAsReplicaSet: false' when SERVER-32672 is fixed. + const st = new ShardingTest({ + shards: 1, + mongos: 1, + config: 1, + other: {keyFile: 'jstests/libs/key1', shardAsReplicaSet: false} + }); runListLocalSessionsTest(st.s0); st.stop(); })(); |