You've already forked node-redis
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:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -16,8 +16,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [12, 14, 16]
|
node-version: ['12', '14', '16']
|
||||||
redis-version: [5, 6.0, 6.2]
|
redis-version: ['5', '6.0', '6.2']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
|
@@ -14,12 +14,9 @@ describe('XPENDING', () => {
|
|||||||
|
|
||||||
describe('client.xPending', () => {
|
describe('client.xPending', () => {
|
||||||
testUtils.testWithClient('simple', async client => {
|
testUtils.testWithClient('simple', async client => {
|
||||||
await Promise.all([
|
await client.xGroupCreate('key', 'group', '$', {
|
||||||
client.xGroupCreate('key', 'group', '$', {
|
MKSTREAM: true
|
||||||
MKSTREAM: true
|
});
|
||||||
}),
|
|
||||||
client.xGroupCreateConsumer('key', 'group', 'consumer')
|
|
||||||
]);
|
|
||||||
|
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
await client.xPending('key', 'group'),
|
await client.xPending('key', 'group'),
|
||||||
@@ -57,8 +54,9 @@ describe('XPENDING', () => {
|
|||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}, GLOBAL.SERVERS.OPEN);
|
}, {
|
||||||
|
...GLOBAL.SERVERS.OPEN,
|
||||||
|
minimumDockerVersion: [6, 2]
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user