Skip to content

Commit

Permalink
ci(test): remove current node version (#2663)
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf authored Jul 18, 2024
1 parent da520e7 commit e85b76a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# check out all branches
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: lts/*
cache: 'yarn'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Use Node.js
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ env.node-version }}
cache: 'yarn'
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:

strategy:
matrix:
node-version: [lts/*, lts/-1, lts/-2, current]
node-version: [lts/*, lts/-1, lts/-2]
redis-version: [7-alpine]
include:
- node-version: 'lts/*'
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3 # v3
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3 # v3
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: lts/*
cache: 'yarn'
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
Expand Down
4 changes: 2 additions & 2 deletions tests/test_sandboxed_process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function sandboxProcessTests(
});

it('should reuse process with single processors', async function () {
this.timeout(30000);
this.timeout(20000);

const processFile = __dirname + '/fixtures/fixture_processor_slow.js';
const worker = new Worker(queueName, processFile, {
Expand Down Expand Up @@ -921,7 +921,7 @@ function sandboxProcessTests(
});

it('should allow the job to complete and then exit on worker close', async function () {
this.timeout(1500000);
this.timeout(15000);
const processFile = __dirname + '/fixtures/fixture_processor_slow.js';
const worker = new Worker(queueName, processFile, {
connection,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3657,7 +3657,7 @@ describe('workers', function () {
it('should retry a job after a delay if a custom backoff is given based on the error thrown', async function () {
class CustomError extends Error {}

this.timeout(12000);
this.timeout(10000);

const worker = new Worker(
queueName,
Expand Down

0 comments on commit e85b76a

Please sign in to comment.