1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00

ref #2565 - fix X[AUTO]CLAIM

This commit is contained in:
Leibale
2023-07-20 16:04:51 -04:00
parent 51a1000603
commit 8369448d05
7 changed files with 59 additions and 42 deletions

View File

@@ -31,11 +31,10 @@ describe('XAUTOCLAIM', () => {
}
});
const [, , id1, id2, , , reply] = await Promise.all([
const [, id1, id2, , , reply] = await Promise.all([
client.xGroupCreate('key', 'group', '$', {
MKSTREAM: true
}),
client.xGroupCreateConsumer('key', 'group', 'consumer'),
client.xAdd('key', '*', message),
client.xAdd('key', '*', message),
client.xReadGroup('group', 'consumer', {