Tests: fix worker restarts for failed browser acknowledgements

Close gh-5440
This commit is contained in:
Timmy Willison 2024-03-11 10:51:06 -04:00
parent 783c9d6958
commit fedffe7448

View File

@ -92,7 +92,7 @@ async function ensureAcknowledged( worker ) {
return worker;
} catch ( error ) {
console.error( error.message );
await restartWorker( worker.browser );
await restartWorker( worker );
}
}