Skip to content

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