diff options
author | Spencer T Brody <spencer@mongodb.com> | 2014-05-21 18:39:37 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2014-05-21 18:41:06 -0400 |
commit | a7526c96e9a584c646294d4414acbad1b452a6f4 (patch) | |
tree | 106a68f1edbe532985ff0d8fbcd0e9a3e75aaf1f | |
parent | b162d4c90ed069602ea2dbdac74771d2d97c14ee (diff) | |
download | mongo-a7526c96e9a584c646294d4414acbad1b452a6f4.tar.gz |
SERVER-14025 Fix race condition in mongos_cache_invalidation.js
-rw-r--r-- | jstests/auth/mongos_cache_invalidation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/auth/mongos_cache_invalidation.js b/jstests/auth/mongos_cache_invalidation.js index 19be18fdcbb..94bb42d3f3f 100644 --- a/jstests/auth/mongos_cache_invalidation.js +++ b/jstests/auth/mongos_cache_invalidation.js @@ -13,7 +13,7 @@ var st = new ShardingTest({ shards: 2, config: 3, mongos: [{}, {setParameter: "userCacheInvalidationIntervalSecs=5"}, - {}], + {setParameter: "userCacheInvalidationIntervalSecs=600"}], keyFile: 'jstests/libs/key1' }); var res = st.s1.getDB('admin').runCommand({setParameter: 1, userCacheInvalidationIntervalSecs: 0}); @@ -52,7 +52,7 @@ db3.auth('spencer', 'pwd'); * different mongoses. "db1", "db2", and "db3" are all auth'd as spencer@test and will be used * to verify that user and role data changes get propaged to their mongoses. * "db2" is connected to a mongos with a 5 second user cache invalidation interval, - * while "db3" is connected to a mongos with the default 30 second cache invalidation interval. + * while "db3" is connected to a mongos with a 10 minute cache invalidation interval. */ (function testGrantingPrivileges() { |