1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00

Do not run e2e tests in parallel

This commit is contained in:
Malte Jürgens 2024-02-16 17:59:02 +01:00
parent e7a97a39a6
commit e8585eff5c
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3

View file

@ -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,