Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1110 from 18F/js-fix-intermittent-test-errors
Browse files Browse the repository at this point in the history
Try to fix intermittent build failures
  • Loading branch information
rememberlenny authored Jun 7, 2017
2 parents da8bf3c + addfc22 commit 17ee77e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ test:
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
override:
- cd $WS && ./codecheck.sh -u
# we needed docker for Go tests (dockertest library).
# let's stop docker so it doesn't mess up anything else / use too many resources.
- sudo service docker stop
- export DISPLAY=:99.0 # taken from https://github.com/siddharthkp/lighthouse-ci/issues/1
- sh -e /etc/init.d/xvfb start || echo \"Unable to start virtual display.\"
- sleep 5 # give xvfb some time to start
- cd $WS && npm test
- NODE_ENV=prod npm run build
- sleep 5
- cd $WS && npm run test-performance
- cd $WS && ./codecheck.sh -u

deployment:
deploy:
Expand Down
4 changes: 2 additions & 2 deletions wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ exports.config = {
// Default request retries count
connectionRetryCount: 3,

// Limit to 3 due to resource constraints on CI
maxInstances: 3,
// Limit to 2 due to resource constraints on CI
maxInstances: 2,

services: ['selenium-standalone'],
seleniumLogs: './context/selenium-logs',
Expand Down

0 comments on commit 17ee77e

Please sign in to comment.