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:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [12, 14, 16]
|
||||
redis-version: [5, 6.0, 6.2]
|
||||
node-version: ['12', '14', '16']
|
||||
redis-version: ['5', '6.0', '6.2']
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
with:
|
||||
|
@@ -14,12 +14,9 @@ describe('XPENDING', () => {
|
||||
|
||||
describe('client.xPending', () => {
|
||||
testUtils.testWithClient('simple', async client => {
|
||||
await Promise.all([
|
||||
client.xGroupCreate('key', 'group', '$', {
|
||||
await client.xGroupCreate('key', 'group', '$', {
|
||||
MKSTREAM: true
|
||||
}),
|
||||
client.xGroupCreateConsumer('key', 'group', 'consumer')
|
||||
]);
|
||||
});
|
||||
|
||||
assert.deepEqual(
|
||||
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