Increasing timeouts.
This commit is contained in:
parent
f556a2b3ce
commit
70cdb99583
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ export async function getDatasource(): Promise<Datasource> {
|
|||
})
|
||||
.withWaitStrategy(
|
||||
Wait.forLogMessage("DATABASE IS READY TO USE!").withStartupTimeout(
|
||||
20000
|
||||
60000
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue