Hey, i am trying to run protractor tests in parallel.
I’ve modified my circle.yml to this:
test:
pre:
- node ./node_modules/.bin/webdriver-manager update
override:
- node ./node_modules/.bin/protractor:
parallel: true
I am experiencing an inconsistent behavior among containers with this below command, which basically downloads some files:
node ./node_modules/.bin/webdriver-manager update
Updating selenium standalone to version 2.52.0
downloading https://selenium-release.storage.googleapis.com/2.52/selenium-server-standalone-2.52.0.jar…
Updating chromedriver to version 2.21
downloading https://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip…
chromedriver_2.21linux64.zip downloaded to /home/ubuntu/reactMobile/node_modules/protractor/selenium/chromedriver_2.21linux64.zip
selenium-server-standalone-2.52.0.jar downloaded to /home/ubuntu/reactMobile/node_modules/protractor/selenium/selenium-server-standalone-2.52.0.jar
The command is reported green on all containers. However, when i ssh into containers, i find the downloaded files only on the first containers. All the other containers are missing these files. I’ve tested on 2x and 3x parallelism, and tried disabling cache.