diff options
Diffstat (limited to 'jstests/auth/mongos_cache_invalidation.js')
-rw-r--r-- | jstests/auth/mongos_cache_invalidation.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/jstests/auth/mongos_cache_invalidation.js b/jstests/auth/mongos_cache_invalidation.js index 1f7064f558d..0917cb68f36 100644 --- a/jstests/auth/mongos_cache_invalidation.js +++ b/jstests/auth/mongos_cache_invalidation.js @@ -120,7 +120,6 @@ db3.auth('spencer', 'pwd'); db3.adminCommand("invalidateUserCache"); assert.writeOK(db3.foo.update({}, {$inc: {a: 1}})); assert.eq(4, db3.foo.findOne().a); - })(); (function testRevokingPrivileges() { @@ -212,7 +211,6 @@ db3.auth('spencer', 'pwd'); // We manually invalidate the cache on s2/db3. db3.adminCommand("invalidateUserCache"); assert.commandFailedWithCode(db3.foo.runCommand("collStats"), authzErrorCode); - })(); st.stop(); |