Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinitialize BrowserManager's command queue after it is recreated #49693

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

WeizhongX
Copy link
Contributor

@WeizhongX WeizhongX commented Dec 14, 2024

This will allow init_failed message be sent back to TestRunnerManager if timeout happens when start the browser. Previously when init retry happens, as the subsuite and test type did not change, the init process will not recreate the BrowserManager instance, causing a stale command queue be used and init_failed message won't be able to send to TestRunnerManager.

Also set the start browser timeout value to 65 seconds to align with the default browser startup timeout value.

Bug: 381944656

This will allow init_failed message be sent back to TestRunnerManager if
timeout happens when start the browser.

Also set the start browser timeout value to 65 seconds to align with the
default browser startup timeout value.

Bug: 381944656
@wpt-pr-bot wpt-pr-bot added infra wptrunner The automated test runner, commonly called through ./wpt run labels Dec 14, 2024
Copy link
Contributor

@jonathan-j-lee jonathan-j-lee left a comment

Choose a reason for hiding this comment

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

Seems fine, although a comment about how this differs from BrowserManager being replaced in init would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants