Skip to content

Commit

Permalink
test: fix evergreen test args (#2993)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariakp authored Oct 1, 2021
1 parent 3aa953c commit 7dfe8e8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .evergreen/run-mongodb-aws-ecs-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ set -x
# run the tests
npm install aws4

npx mocha test/functional/mongodb_aws.test.js
npm run check:aws
2 changes: 1 addition & 1 deletion .evergreen/run-mongodb-aws-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ shopt -s expand_aliases # needed for `urlencode` alias
set -x

npm install aws4
npx mocha test/functional/mongodb_aws.test.js
npm run check:aws
4 changes: 2 additions & 2 deletions .evergreen/run-snappy-version-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export MONGODB_URI="${MONGODB_URI}"

npm i --no-save snappy@6

npx mocha test/unit/snappy.test.js
npm run check:snappy

npm i --no-save snappy@7

npx mocha test/unit/snappy.test.js
npm run check:snappy
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,13 @@
"check:ts": "tsc -v && tsc --noEmit",
"check:atlas": "mocha --config \"test/manual/mocharc.json\" test/manual/atlas_connectivity.test.js",
"check:adl": "mocha --file test/tools/runner test/manual/data_lake.test.js",
"check:aws": "mocha --file test/tools/runner test/functional/mongodb_aws.test.js",
"check:ocsp": "mocha --config \"test/manual/mocharc.json\" test/manual/ocsp_support.test.js",
"check:kerberos": "mocha --config \"test/manual/mocharc.json\" test/manual/kerberos.test.js",
"check:tls": "mocha --config \"test/manual/mocharc.json\" test/manual/tls_support.test.js",
"check:ldap": "mocha --config \"test/manual/mocharc.json\" test/manual/ldap.test.js",
"check:csfle": "mocha test/functional/client_side_encryption",
"check:csfle": "mocha --file test/tools/runner test/functional/client_side_encryption",
"check:snappy": "mocha --file test/tools/runner test/functional/unit_snappy.test.js",
"prepare": "node etc/prepare.js",
"release": "standard-version -i HISTORY.md",
"test": "npm run check:lint && npm run test:all",
Expand Down

0 comments on commit 7dfe8e8

Please sign in to comment.