You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We run wct tests using Travis/Sauce, and since upgrading to wct-mocha we found that tests periodically timeout with an error like:
Timed out loading http://localhost:8081/components/d2l-activities/test/d2l-activity-list-item/d2l-activity-list-item-test.html
<unknown> at <unknown> at /node_modules/wct-mocha/wct-mocha.js:841:0
I've tracked this down to this line in ChildRunner
Through using Sauce's extended debugging, I was able to see that sometimes it does seem like the sheer number of es modules being loaded dynamically by the test, through presumably the Sauce connect tunnel, does cause the loading of the test to take longer than 60 seconds. I'm not sure of a way to improve that, so ideally I'd just like to bump the ChildRunner.loadTimeout from 60s to say 120s.
The text was updated successfully, but these errors were encountered:
mdgbayly
changed the title
Question: Is there a way to configure ChildRunner.loadTimeout?
Question: wct-mocha: Is there a way to configure ChildRunner.loadTimeout?
Sep 17, 2019
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We run wct tests using Travis/Sauce, and since upgrading to wct-mocha we found that tests periodically timeout with an error like:
I've tracked this down to this line in ChildRunner
tools/packages/wct-mocha/src/childrunner.ts
Line 81 in fbc1a8f
Through using Sauce's extended debugging, I was able to see that sometimes it does seem like the sheer number of es modules being loaded dynamically by the test, through presumably the Sauce connect tunnel, does cause the loading of the test to take longer than 60 seconds. I'm not sure of a way to improve that, so ideally I'd just like to bump the ChildRunner.loadTimeout from 60s to say 120s.
The text was updated successfully, but these errors were encountered: