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

webdriver fail in docker when use ava (parallel tests mode) #27

Closed
huan opened this issue Aug 30, 2016 · 1 comment
Closed

webdriver fail in docker when use ava (parallel tests mode) #27

huan opened this issue Aug 30, 2016 · 1 comment

Comments

@huan
Copy link
Member

huan commented Aug 30, 2016

ava tests run ok on windows & linux, but not ok inside docker.

according to elgalu/docker-selenium#20 (comment) , this is due to /dev/shm memory size too small.

$ df -h
shm              64M  3.2M   61M   5% /dev/shm

it's only 64M

Solution

  1. increase shm size with --shm-size param with build & run Addition of "--shm-size" to which size of /dev/shm is changed moby/moby#16168 (comment)
  2. use --privileged when run docker, then mount /dev/shm -o remount,size=1g bigger /dev/shm moby/moby#2606 (comment)
  3. use -v /dev/shm:/dev/shm when run docker. node-chome tab crash in docker only SeleniumHQ/docker-selenium#79 (comment)
huan added a commit that referenced this issue Aug 30, 2016
huan added a commit that referenced this issue Aug 30, 2016
@huan
Copy link
Member Author

huan commented Aug 30, 2016

fixed.

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

No branches or pull requests

1 participant