fix: resolve test hang issues in CI
- Fixed MSW event listener memory leaks - Added proper database connection cleanup - Fixed MSW server lifecycle management - Reduced global test timeout to 30s for faster failure detection - Added resource cleanup in all integration tests This should resolve the GitHub Actions test hanging issue
This commit is contained in:
@@ -77,7 +77,7 @@ function setTestDefaults(): void {
|
||||
TEST_TIMEOUT_UNIT: '5000',
|
||||
TEST_TIMEOUT_INTEGRATION: '15000',
|
||||
TEST_TIMEOUT_E2E: '30000',
|
||||
TEST_TIMEOUT_GLOBAL: '60000',
|
||||
TEST_TIMEOUT_GLOBAL: '30000', // Reduced from 60s to 30s to catch hangs faster
|
||||
|
||||
// Test execution
|
||||
TEST_RETRY_ATTEMPTS: '2',
|
||||
|
||||
Reference in New Issue
Block a user