Bump CI default unit test timeout to 10s
This commit is contained in:
parent
a3c9486fac
commit
c05b063f10
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue