mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(testrunner): sort workers numerically when terminating (#3782)
This commit is contained in:
parent
489be90c75
commit
bea26a7f58
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user