1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

run XPEDNDING with consumers test on redis 6.2 and up, fix redis 6 tests

This commit is contained in:
leibale
2021-12-29 17:24:20 -05:00
parent 77022209bd
commit 627eb78315
2 changed files with 9 additions and 11 deletions

View File

@@ -14,12 +14,9 @@ describe('XPENDING', () => {
describe('client.xPending', () => {
testUtils.testWithClient('simple', async client => {
await Promise.all([
client.xGroupCreate('key', 'group', '$', {
MKSTREAM: true
}),
client.xGroupCreateConsumer('key', 'group', 'consumer')
]);
await client.xGroupCreate('key', 'group', '$', {
MKSTREAM: true
});
assert.deepEqual(
await client.xPending('key', 'group'),
@@ -57,8 +54,9 @@ describe('XPENDING', () => {
}]
}
);
}, GLOBAL.SERVERS.OPEN);
}, {
...GLOBAL.SERVERS.OPEN,
minimumDockerVersion: [6, 2]
});
});
});