From 70cdb99583c4b7ee0d72f2cec47c02181c2e9651 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 27 Nov 2024 15:30:48 +0000 Subject: [PATCH] Increasing timeouts. --- packages/server/src/integrations/tests/utils/index.ts | 3 +++ packages/server/src/integrations/tests/utils/oracle.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/server/src/integrations/tests/utils/index.ts b/packages/server/src/integrations/tests/utils/index.ts index dcdaece191..e5d2e1f229 100644 --- a/packages/server/src/integrations/tests/utils/index.ts +++ b/packages/server/src/integrations/tests/utils/index.ts @@ -102,6 +102,9 @@ function createDummyTest() { } export function datasourceDescribe(opts: DatasourceDescribeOpts) { + // tests that call this need a lot longer timeouts + jest.setTimeout(120000) + if (process.env.DATASOURCE === "none") { createDummyTest() } diff --git a/packages/server/src/integrations/tests/utils/oracle.ts b/packages/server/src/integrations/tests/utils/oracle.ts index 8e7fd6c900..2ec8da5902 100644 --- a/packages/server/src/integrations/tests/utils/oracle.ts +++ b/packages/server/src/integrations/tests/utils/oracle.ts @@ -25,7 +25,7 @@ export async function getDatasource(): Promise { }) .withWaitStrategy( Wait.forLogMessage("DATABASE IS READY TO USE!").withStartupTimeout( - 20000 + 60000 ) ) )