diff options
author | Gabriel Marks <gabriel.marks@mongodb.com> | 2023-04-05 14:31:04 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-05 16:59:30 +0000 |
commit | 17804518dab21bd5f936787b51baf013fe16101e (patch) | |
tree | a139c7b108cf643b210c3d2d6e97d7f0e97519f6 /jstests/auth | |
parent | 858c7ae1576bdb897a6c8e8162a180aac36dcda8 (diff) | |
download | mongo-17804518dab21bd5f936787b51baf013fe16101e.tar.gz |
SERVER-74107 Use transaction in cluster parameter refresher to get up-to-date FCV
Diffstat (limited to 'jstests/auth')
-rw-r--r-- | jstests/auth/list_all_local_sessions.js | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/jstests/auth/list_all_local_sessions.js b/jstests/auth/list_all_local_sessions.js index 3efe32fc3e1..3b90d01b545 100644 --- a/jstests/auth/list_all_local_sessions.js +++ b/jstests/auth/list_all_local_sessions.js @@ -1,5 +1,5 @@ // Auth tests for the $listLocalSessions {allUsers:true} aggregation stage. -// @tags: [requires_sharding] +// @tags: [requires_fcv_70, requires_sharding] (function() { 'use strict'; @@ -49,8 +49,16 @@ const mongod = MongoRunner.runMongod({auth: ""}); runListAllLocalSessionsTest(mongod); MongoRunner.stopMongod(mongod); -const st = - new ShardingTest({shards: 1, mongos: 1, config: 1, other: {keyFile: 'jstests/libs/key1'}}); +const st = new ShardingTest({ + shards: 1, + mongos: 1, + config: 1, + other: { + keyFile: 'jstests/libs/key1', + mongosOptions: + {setParameter: {'failpoint.skipClusterParameterRefresh': "{'mode':'alwaysOn'}"}} + } +}); runListAllLocalSessionsTest(st.s0); st.stop(); })(); |