Bump CI default unit test timeout to 10s

This commit is contained in:
Rory Powell 2023-02-09 09:19:31 +00:00
parent a3c9486fac
commit c05b063f10
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)