Skip to content

Commit 9f6fb3b

Browse files
committed
Merge remote-tracking branch 'finos/feat/postgres' into feat/postgres-data-migration
2 parents 3b135f1 + 13caea1 commit 9f6fb3b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

vitest.config.integration.postgres.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ export default defineConfig({
2424
hookTimeout: 10000,
2525
setupFiles: ['test/setup-integration-postgres.ts'],
2626
pool: 'forks',
27-
poolOptions: {
28-
forks: {
29-
singleFork: true,
30-
},
31-
},
27+
// The files share one database and some of them drop and recreate its
28+
// tables, so they must not run concurrently. vitest 4 removed the old
29+
// poolOptions.forks.singleFork switch (it silently no-ops), so file
30+
// parallelism is disabled explicitly.
31+
fileParallelism: false,
3232
env: {
3333
NODE_ENV: 'test',
3434
RUN_POSTGRES_TESTS: 'true',

0 commit comments

Comments
 (0)