BackstopJS: WaitTimeoutError during test
Helo!
After an error on Travis (https://github.com/OnetapInc/chromy/issues/62), I try to reduce async limit to pass test.
asyncCaptureLimit: 5,
asyncCompareLimit: 50
But nothing change 😢 : https://travis-ci.org/20minutes/colette/builds/271137302
Then I try with
asyncCaptureLimit: 1,
asyncCompareLimit: 1
https://travis-ci.org/20minutes/colette/builds/271199288 I don’t know why it’s green even if i have no result of the test…
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 21 (9 by maintainers)
Commits related to this issue
- Changes in dockerfile: - Changed base image to none alpine. Allowing new chrome version. - Updated Chrome to the latest (64). Potentially fixing issues #603 #537 — committed to iain17/BackstopJS by iain17 6 years ago
- Changes in dockerfile: (#668) - Changed base image to none alpine. Allowing new chrome version. - Updated Chrome to the latest (64). Potentially fixing issues #603 #537 — committed to garris/BackstopJS by iain17 6 years ago
I was getting this WaitTimeoutError, too, not running natively, but when switching to run in docker. Happened more often with higher asyncCaptureLimit and more complex pages, but even sometimes with asyncCaptureLimit: 1.
Eventually tracked the problem down to chrome dying with a bus error, and finally tracked this down to running out of space in /dev/shm. Docker allocates 64MB to /dev/shm by default.
Running docker with
--shm-size 512mfixed the issue for me. Lets me run with default asyncCaptureLimit: 10.