@web/test-runner-core
Advanced tools
Comparing version 0.5.2 to 0.5.3
# @web/test-runner-core | ||
## 0.5.3 | ||
### Patch Changes | ||
- 64d867c: don't schedule sessions in parallel | ||
## 0.5.2 | ||
@@ -4,0 +10,0 @@ |
@@ -12,4 +12,4 @@ import { TestRunnerConfig } from './TestRunnerConfig'; | ||
private clearTimeouts; | ||
schedule(testRun: number, sessionsToSchedule: Iterable<TestSession>): Promise<void[]>; | ||
runScheduled(testRun: number): Promise<void[]>; | ||
schedule(testRun: number, sessionsToSchedule: Iterable<TestSession>): Promise<void>; | ||
runScheduled(testRun: number): Promise<void>; | ||
private runSession; | ||
@@ -16,0 +16,0 @@ private setSessionFailed; |
@@ -42,4 +42,3 @@ "use strict"; | ||
} | ||
runScheduled(testRun) { | ||
const scheduleTasks = []; | ||
async runScheduled(testRun) { | ||
const scheduledIt = this.sessions.forStatus(TestSessionStatus_1.SESSION_STATUS.SCHEDULED); | ||
@@ -53,5 +52,4 @@ const runningCount = Array.from(this.sessions.forStatus(TestSessionStatus_1.SESSION_STATUS.INITIALIZING, TestSessionStatus_1.SESSION_STATUS.STARTED)).length; | ||
} | ||
scheduleTasks.push(this.runSession(testRun, value)); | ||
await this.runSession(testRun, value); | ||
} | ||
return Promise.all(scheduleTasks); | ||
} | ||
@@ -58,0 +56,0 @@ async runSession(testRun, session) { |
{ | ||
"name": "@web/test-runner-core", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60884
751