mirror of
https://github.com/labring/FastGPT.git
synced 2026-02-27 01:02:22 +08:00
perf: index (#6131)
* perf: index * stop design doc * perf: stop workflow;perf: mongo connection * fix: ts * mq export
This commit is contained in:
@@ -20,8 +20,10 @@ export default defineConfig({
|
||||
outputFile: 'test-results.json',
|
||||
setupFiles: 'test/setup.ts',
|
||||
globalSetup: 'test/globalSetup.ts',
|
||||
// fileParallelism: false,
|
||||
maxConcurrency: 5,
|
||||
// File-level execution: serial (one file at a time to avoid MongoDB conflicts)
|
||||
fileParallelism: false,
|
||||
// Test-level execution within a file: parallel (up to 5 concurrent tests)
|
||||
maxConcurrency: 10,
|
||||
pool: 'threads',
|
||||
include: [
|
||||
'test/test.ts',
|
||||
@@ -31,6 +33,7 @@ export default defineConfig({
|
||||
'projects/marketplace/test/**/*.test.ts'
|
||||
],
|
||||
testTimeout: 20000,
|
||||
hookTimeout: 30000,
|
||||
reporters: ['github-actions', 'default']
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user