mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-29 06:32:28 +00:00
fix(test): add forceExit to prevent KuzuDB native cleanup hang in CI
KuzuDB's C++ destructor crashes the vitest fork worker on exit, causing a ~7 minute hang before timeout. forceExit kills the worker immediately after tests complete. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1c54a5260b
commit
62e6ad5a5b
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ export default defineConfig({
|
|||
singleFork: true, // run all tests in a single fork to avoid KuzuDB native cleanup crashes
|
||||
globals: true,
|
||||
teardownTimeout: 1000,
|
||||
forceExit: true, // KuzuDB native destructor can crash/hang the fork on exit
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
include: ['src/**/*.ts'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue