Skip to content

Commit

Permalink
test(node): Extend timeouts for Prisma tests (#15413)
Browse files Browse the repository at this point in the history
After moving to setup docker via the test runner, the tests became
flakey. This PR extends the timeouts.
  • Loading branch information
timfish authored Feb 14, 2025
1 parent 50f89f1 commit 7d4e1e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';

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

afterAll(() => {
cleanupChildProcesses();
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import type { SpanJSON } from '@sentry/core';
import { cleanupChildProcesses, createRunner } from '../../../utils/runner';

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

afterAll(() => {
cleanupChildProcesses();
});
Expand Down

0 comments on commit 7d4e1e9

Please sign in to comment.