Skip to content

Commit

Permalink
test: Increase timeout for redis-cache test & docker-compose (#13499)
Browse files Browse the repository at this point in the history
Noticed e.g. here:
https://github.com/getsentry/sentry-javascript/actions/runs/10594383971/job/29358138105
that this was timing out some times, so increasing the timeout a bit...
  • Loading branch information
mydea authored Aug 28, 2024
1 parent 80894c4 commit 664d305
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';

// When running docker compose, we need a larger timeout, as this takes some time...
jest.setTimeout(75000);
jest.setTimeout(90000);

describe('redis cache auto instrumentation', () => {
afterAll(() => {
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/node-integration-tests/utils/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async function runDockerCompose(options: DockerOptions): Promise<VoidFunction> {
const timeout = setTimeout(() => {
close();
reject(new Error('Timed out waiting for docker-compose'));
}, 60_000);
}, 75_000);

function newData(data: Buffer): void {
const text = data.toString('utf8');
Expand Down

0 comments on commit 664d305

Please sign in to comment.