Increasing timeouts.

This commit is contained in:
mike12345567 2024-11-27 15:30:48 +00:00
parent f556a2b3ce
commit 70cdb99583
2 changed files with 4 additions and 1 deletions

View File

@ -102,6 +102,9 @@ function createDummyTest() {
} }
export function datasourceDescribe(opts: DatasourceDescribeOpts) { export function datasourceDescribe(opts: DatasourceDescribeOpts) {
// tests that call this need a lot longer timeouts
jest.setTimeout(120000)
if (process.env.DATASOURCE === "none") { if (process.env.DATASOURCE === "none") {
createDummyTest() createDummyTest()
} }

View File

@ -25,7 +25,7 @@ export async function getDatasource(): Promise<Datasource> {
}) })
.withWaitStrategy( .withWaitStrategy(
Wait.forLogMessage("DATABASE IS READY TO USE!").withStartupTimeout( Wait.forLogMessage("DATABASE IS READY TO USE!").withStartupTimeout(
20000 60000
) )
) )
) )