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

[IMP] phantom_js: make timeout for ready condition customizable #24514

Closed

Conversation

yelizariev
Copy link
Contributor

Description of the issue/feature this PR addresses:
make timeout for ready condition customizable
Current behavior before PR:
it's always 10 sec and leads to red CI sometimes
Desired behavior after PR is merged:
Developers can increased the timeout

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@aab-odoo
Copy link
Contributor

aab-odoo commented Oct 3, 2019

Hello @yelizariev

phantomjs has been dropped in v12 and replaced by chrome-headless., so the code changed a lot. As you can see here, the ready timeout is now 60s by default, so maybe it'll be enough for your usecases. If not, you can still re-target your PR and add a new argument here, and pass it to the call to _wait_ready.

Regards.

cc @Xavier-Do

@yelizariev
Copy link
Contributor Author

Thank you @aab-odoo for the response. 60 sec sounds good. I'll remake the PR if I found a case when it's unsufficient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants