File tree Expand file tree Collapse file tree 3 files changed +25
-17
lines changed Expand file tree Collapse file tree 3 files changed +25
-17
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ build :
4+ working_directory : ~/Clever/node-redis-reservation
5+ docker :
6+ - image : circleci/node:8.11.3-stretch
7+ - image : redis@sha256:858b1677143e9f8455821881115e276f6177221de1c663d0abef9b2fda02d065
8+ environment :
9+ CIRCLE_ARTIFACTS : /tmp/circleci-artifacts
10+ CIRCLE_TEST_REPORTS : /tmp/circleci-test-results
11+ steps :
12+ - run :
13+ command : cd $HOME && git clone --depth 1 -v https://github.com/Clever/ci-scripts.git && cd ci-scripts && git show --oneline -s
14+ name : Clone ci-scripts
15+ - checkout
16+ - setup_remote_docker
17+ - run :
18+ command : mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
19+ name : Set up CircleCI artifacts directories
20+ - run :
21+ command : npm install
22+ name : npm install
23+ - run : npm test
24+ - run : $HOME/ci-scripts/circleci/report-card $RC_DOCKER_USER $RC_DOCKER_PASS "$RC_DOCKER_EMAIL" $RC_GITHUB_TOKEN
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -175,5 +175,5 @@ describe 'redis-reservation', ->
175175 process .env .REDIS_PORT = 6666 # incorrect port
176176 test_worker = new SlowWorker resource_id : ' test_resource' , (err , resp ) ->
177177 console .log " ERR" , err
178- assert . equal err .message , " Redis connection to localhost :6666 failed - connect ECONNREFUSED"
178+ assert err .message . match ( / Redis connection to . + :6666 failed - connect ECONNREFUSED/ )
179179 setTimeout done, 1000
You can’t perform that action at this time.
0 commit comments