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

tests(report): increase timeout for running axe on report renderer #12610

Merged
merged 4 commits into from
Jun 3, 2021

Conversation

paulirish
Copy link
Member

currently master branch is failing due to this error.

https://github.com/GoogleChrome/lighthouse/runs/2731679275#step:10:376

image

Oddly, the explicit 10s timeout isn't being honored locally, and appears to only be honored in CI intermittently.
Regardless, this test definitely takes >10s locally despite having a timeout set for that.

Let's give the test the breathing room it needs.

--

Also btw i profiled this test and... yeah its a bunch of axe+jsdom interaction. I don't expect we can do much about it until we move off jsdom.

@paulirish paulirish requested a review from a team as a code owner June 3, 2021 00:21
@paulirish paulirish requested review from patrickhulce and removed request for a team June 3, 2021 00:21
@google-cla google-cla bot added the cla: yes label Jun 3, 2021
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

Oddly, the explicit 10s timeout isn't being honored locally, and appears to only be honored in CI intermittently.
Regardless, this test definitely takes >10s locally despite having a timeout set for that.

Timeouts are only honored at task boundaries. It's been a while since I've profiled axe, but if it yields after a smaller chunk of work (that takes <10s locally but >10s in CI), and then does a more work before resolving without yielding then that would explain this behavior.

@patrickhulce patrickhulce merged commit 3f57de8 into master Jun 3, 2021
@patrickhulce patrickhulce deleted the axetimeout branch June 3, 2021 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants