* @param {Number} numberOfWorkers
(numberOfWorkers)
| 396 | * @param {Number} numberOfWorkers |
| 397 | */ |
| 398 | createTestPool(numberOfWorkers) { |
| 399 | // For pool mode, create empty groups for each worker and initialize empty pool |
| 400 | // Test pool will be populated lazily when getNextTest() is first called |
| 401 | this.testPool = [] |
| 402 | this.testPoolInitialized = false |
| 403 | this.testGroups = populateGroups(numberOfWorkers) |
| 404 | } |
| 405 | |
| 406 | /** |
| 407 | * Initialize the test pool if not already done |
no test coverage detected