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

Disable timeout on browser process execution #866

Merged
merged 2 commits into from May 9, 2023

Conversation

ka3de
Copy link
Collaborator

@ka3de ka3de commented May 2, 2023

This PR modifies the browser launching/connecting process to not pass a context with timeout to the actual browser process cmd handle and/or implementation closing handle. Currently this was done using as timeout the value set for the browser.timeout option, which should serve a different purpose.

Instead, it makes the browser process handle and its closing handling method depend on the VU context.

Closes #865.
Closes #864.

@ka3de ka3de self-assigned this May 2, 2023
ka3de added 2 commits May 2, 2023 11:48
This commit modifies the browser launching process to not pass a context
with timeout to the actual browser process cmd handle. Currently this
was done using as timeout the value set for the browser.timeout option,
which should serve a different purpose.
This commit modifies the browser connecting process to not pass a
context with timeout to the browser process implementation so its
closing handler is not triggered after the set timeout. Currently this
was done using as timeout the value set for the browser.timeout option,
which should serve a different purpose.
@ka3de ka3de force-pushed the fix/865-browser-global-timeout branch from a03514c to 1fa9bfb Compare May 2, 2023 09:51
@ka3de ka3de marked this pull request as ready for review May 2, 2023 10:10
@ka3de ka3de requested review from ankur22 and inancgumus May 2, 2023 10:10
Copy link
Collaborator

@ankur22 ankur22 left a comment

Choose a reason for hiding this comment

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

LGTM

@ka3de ka3de merged commit 3b6486c into main May 9, 2023
13 checks passed
@ka3de ka3de deleted the fix/865-browser-global-timeout branch May 9, 2023 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants