1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-07-06 10:38:30 -04:00
parent 2a662a367d
commit ab153a8eda
10 changed files with 97 additions and 60 deletions

View File

@@ -18,7 +18,9 @@ describe('MEMORY STATS', () => {
assert.equal(typeof memoryStats['replication.backlog'], 'number');
assert.equal(typeof memoryStats['clients.slaves'], 'number');
assert.equal(typeof memoryStats['clients.normal'], 'number');
assert.equal(typeof memoryStats['cluster.links'], 'number');
if (testUtils.isVersionGreaterThan([7])) {
assert.equal(typeof memoryStats['cluster.links'], 'number');
}
assert.equal(typeof memoryStats['aof.buffer'], 'number');
assert.equal(typeof memoryStats['lua.caches'], 'number');
assert.equal(typeof memoryStats['functions.caches'], 'number');