Merge pull request 'Do not run e2e tests in parallel' (#2440) from maltejur/forgejo:e2e_parallel into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2440
This commit is contained in:
commit
ec1b64637e
|
@ -11,6 +11,13 @@ export default {
|
||||||
testDir: './tests/e2e/',
|
testDir: './tests/e2e/',
|
||||||
testMatch: /.*\.test\.e2e\.js/, // Match any .test.e2e.js files
|
testMatch: /.*\.test\.e2e\.js/, // Match any .test.e2e.js files
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Only run one test at a time, running multiple could lead to a inconsistent
|
||||||
|
* database state.
|
||||||
|
*/
|
||||||
|
fullyParallel: false,
|
||||||
|
workers: 1,
|
||||||
|
|
||||||
/* Maximum time one test can run for. */
|
/* Maximum time one test can run for. */
|
||||||
timeout: 30 * 1000,
|
timeout: 30 * 1000,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue