Skip to content

Conversation

@daxpedda
Copy link
Member

Currently, if starting the WebDriver process fails, the test runner simply spends its remaining timeout period trying to connect to the failed WebDriver process, which obviously doesn't work.

Instead this PR changes the behavior to continuously check if the WebDriver process didn't fail and only then wait until a connection is established. The timeout period remains 5 seconds in total.

I've tested this quite extensively now with web-time and I only got one unrelated failure. So this is a huge improvement from before, where almost every single CI run has failed.

Copy link
Contributor

@RunDevelopment RunDevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@daxpedda daxpedda merged commit 539ea43 into wasm-bindgen:main Nov 14, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants