blob: 58976b3f8c6fbe6b6659f3741e01542df3330e3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Test that sessions on sharded clusters cannot be resumed by deleted and recreated user.
* @tags: [requires_sharding]
*/
(function() {
'use strict';
load("jstests/auth/deleted_recreated_user_base.js");
const st = new ShardingTest({
shards: 1,
mongos: 2,
config: 1,
other: {
keyFile: 'jstests/libs/key1',
mongosOptions: {
setParameter: 'userCacheInvalidationIntervalSecs=' + kInvalidationIntervalSecs,
},
},
});
runTest(st.s0, st.s1);
st.stop();
})();
|