Skip to content

Commit

Permalink
chore(testrunner): sort workers numerically when terminating (#3782)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Jan 16, 2019
1 parent 489be90 commit bea26a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/testrunner/Reporter.js
Expand Up @@ -47,7 +47,7 @@ class Reporter {
}
console.log('WORKERS STATE');
const workerIds = Array.from(this._workersState.keys());
workerIds.sort();
workerIds.sort((a, b) => a - b);
for (const workerId of workerIds) {
const {isRunning, test} = this._workersState.get(workerId);
let description = '';
Expand Down

0 comments on commit bea26a7

Please sign in to comment.