diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ad8b0332f8..0ce929fbc5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: diff --git a/packages/client/lib/commands/XPENDING.spec.ts b/packages/client/lib/commands/XPENDING.spec.ts index af5c239e6c..b1fef2a217 100644 --- a/packages/client/lib/commands/XPENDING.spec.ts +++ b/packages/client/lib/commands/XPENDING.spec.ts @@ -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] + }); }); - - });