Skip to content

Commit 7dfe8e8

Browse files
authored
test: fix evergreen test args (#2993)
1 parent 3aa953c commit 7dfe8e8

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.evergreen/run-mongodb-aws-ecs-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ set -x
1717
# run the tests
1818
npm install aws4
1919

20-
npx mocha test/functional/mongodb_aws.test.js
20+
npm run check:aws

.evergreen/run-mongodb-aws-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ shopt -s expand_aliases # needed for `urlencode` alias
2121
set -x
2222

2323
npm install aws4
24-
npx mocha test/functional/mongodb_aws.test.js
24+
npm run check:aws

.evergreen/run-snappy-version-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export MONGODB_URI="${MONGODB_URI}"
55

66
npm i --no-save snappy@6
77

8-
npx mocha test/unit/snappy.test.js
8+
npm run check:snappy
99

1010
npm i --no-save snappy@7
1111

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

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,13 @@
110110
"check:ts": "tsc -v && tsc --noEmit",
111111
"check:atlas": "mocha --config \"test/manual/mocharc.json\" test/manual/atlas_connectivity.test.js",
112112
"check:adl": "mocha --file test/tools/runner test/manual/data_lake.test.js",
113+
"check:aws": "mocha --file test/tools/runner test/functional/mongodb_aws.test.js",
113114
"check:ocsp": "mocha --config \"test/manual/mocharc.json\" test/manual/ocsp_support.test.js",
114115
"check:kerberos": "mocha --config \"test/manual/mocharc.json\" test/manual/kerberos.test.js",
115116
"check:tls": "mocha --config \"test/manual/mocharc.json\" test/manual/tls_support.test.js",
116117
"check:ldap": "mocha --config \"test/manual/mocharc.json\" test/manual/ldap.test.js",
117-
"check:csfle": "mocha test/functional/client_side_encryption",
118+
"check:csfle": "mocha --file test/tools/runner test/functional/client_side_encryption",
119+
"check:snappy": "mocha --file test/tools/runner test/functional/unit_snappy.test.js",
118120
"prepare": "node etc/prepare.js",
119121
"release": "standard-version -i HISTORY.md",
120122
"test": "npm run check:lint && npm run test:all",

0 commit comments

Comments
 (0)