-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationfeature requestgood first issueGood for newcomersGood for newcomerstestTesting applicationTesting application
Description
Goal
The goal of this issue is to validate mock isolation fixes and enable maxConcurrency: 2 for 2.3-2.5x test speedup target. This is the final validation step for Phase 2A.
Tasks
- Run tests locally with maxConcurrency: 2 and verify zero "unexpected mock call" failures
- Profile memory usage during local runs
- Update vitest.config.ts:
maxConcurrency: isCI ? 2 : 4 - Run 20 consecutive CI builds and verify 100% pass rate
- Monitor memory usage (must stay <5GB) and measure speedup
Resources
- Refer to foundational documentation on writing test cases in the repository
- Check existing PR Improve Admin Testing Speed #4565
- Related issue Talawa-Admin: 5X Testing Speed Improvement #4489
Acceptance Criteria
- maxConcurrency: 2 passes 20 consecutive CI runs
- Zero "unexpected mock call" failures in 50 test runs
- Memory usage stays under 5GB
- Speedup improves from 2x to 2.3-2.5x
- Phase 2A complete → Unblocks Phase 2B
- PR created with updates, passing all checks and reviews
Other
Blocked by: Issues 2A.0-2A.4 must all be merged
Estimated effort: 3-5 days (mostly validation)
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationfeature requestgood first issueGood for newcomersGood for newcomerstestTesting applicationTesting application
Type
Projects
Status
Backlog