From d926cca9c6406544dbe776d84331903c1a390493 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Mon, 11 Mar 2024 10:51:06 -0400 Subject: [PATCH] Tests: fix worker restarts for failed browser acknowledgements Close gh-5441 --- test/runner/browserstack/browsers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/browserstack/browsers.js b/test/runner/browserstack/browsers.js index 218d13fe7..6489cf965 100644 --- a/test/runner/browserstack/browsers.js +++ b/test/runner/browserstack/browsers.js @@ -92,7 +92,7 @@ async function ensureAcknowledged( worker ) { return worker; } catch ( error ) { console.error( error.message ); - await restartWorker( worker.browser ); + await restartWorker( worker ); } }