Merge pull request #9619 from Budibase/chore/bump-ci-test-timeout

Bump CI default unit test timeout to 10s
This commit is contained in:
Rory Powell 2023-02-09 09:37:50 +00:00 committed by GitHub
commit b51940a95b
2 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,9 @@ if (!process.env.DEBUG) {
if (!process.env.CI) { if (!process.env.CI) {
// set a longer timeout in dev for debugging // set a longer timeout in dev for debugging
// 100 seconds // 100 seconds
jest.setTimeout(100000) jest.setTimeout(100 * 1000)
} else {
jest.setTimeout(10 * 1000)
} }
testContainerUtils.setupEnv(env, coreEnv) testContainerUtils.setupEnv(env, coreEnv)

View File

@ -18,7 +18,9 @@ if (!process.env.DEBUG) {
if (!process.env.CI) { if (!process.env.CI) {
// set a longer timeout in dev for debugging // set a longer timeout in dev for debugging
// 100 seconds // 100 seconds
jest.setTimeout(100000) jest.setTimeout(100 * 1000)
} else {
jest.setTimeout(10 * 1000)
} }
testContainerUtils.setupEnv(env, coreEnv) testContainerUtils.setupEnv(env, coreEnv)