Merge pull request #9619 from Budibase/chore/bump-ci-test-timeout
Bump CI default unit test timeout to 10s
This commit is contained in:
commit
b51940a95b
|
@ -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