Skip to content

Commit 7a8276e

Browse files
authored
test(NODE-7329): run oidc machine prose tests in all envs (#4843)
1 parent 4e9467e commit 7a8276e

File tree

6 files changed

+154
-362
lines changed

6 files changed

+154
-362
lines changed

.evergreen/run-oidc-prose-tests.sh

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,11 @@ if [ -z "${MONGODB_URI_SINGLE}" ]; then
1515
exit 1
1616
fi
1717

18-
if [ "$ENVIRONMENT" = "azure" ]; then
19-
npm run check:oidc-azure
20-
elif [ "$ENVIRONMENT" = "gcp" ]; then
21-
npm run check:oidc-gcp
22-
elif [ "$ENVIRONMENT" = "test" ]; then
18+
if [ "$ENVIRONMENT" = "test" ]; then
2319
if [ -z "${OIDC_TOKEN_FILE}" ]; then
2420
echo "Must specify OIDC_TOKEN_FILE"
2521
exit 1
2622
fi
27-
npm run check:oidc-test
28-
else
29-
if [ -z "${K8S_VARIANT}" ]; then
30-
echo "Must specify K8S_VARIANT"
31-
exit 1
32-
fi
33-
npm run check:oidc-k8s
3423
fi
24+
25+
npm run check:oidc-test

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@
147147
"check:aws": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_aws.test.ts test/integration/auth/mongodb_aws.prose.test.ts",
148148
"check:oidc-auth": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/auth.spec.test.ts",
149149
"check:oidc-test": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc.prose.test.ts",
150-
"check:oidc-azure": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_azure.prose.05.test.ts",
151-
"check:oidc-gcp": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_gcp.prose.06.test.ts",
152-
"check:oidc-k8s": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_k8s.prose.07.test.ts",
153150
"check:kerberos": "nyc mocha --config test/manual/mocharc.js test/manual/kerberos.test.ts",
154151
"check:tls": "nyc mocha --config test/manual/mocharc.js test/manual/tls_support.test.ts",
155152
"check:ldap": "nyc mocha --config test/manual/mocharc.js test/manual/ldap.test.ts",

0 commit comments

Comments
 (0)