Skip to content

Commit 664d305

Browse files
authored
test: Increase timeout for redis-cache test & docker-compose (#13499)
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...
1 parent 80894c4 commit 664d305

File tree

2 files changed

+2
-2
lines changed
  • dev-packages/node-integration-tests

2 files changed

+2
-2
lines changed

dev-packages/node-integration-tests/suites/tracing/redis-cache/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';
22

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

66
describe('redis cache auto instrumentation', () => {
77
afterAll(() => {

dev-packages/node-integration-tests/utils/runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ async function runDockerCompose(options: DockerOptions): Promise<VoidFunction> {
124124
const timeout = setTimeout(() => {
125125
close();
126126
reject(new Error('Timed out waiting for docker-compose'));
127-
}, 60_000);
127+
}, 75_000);
128128

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

0 commit comments

Comments
 (0)