Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .evergreen/run-oidc-prose-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,11 @@ if [ -z "${MONGODB_URI_SINGLE}" ]; then
exit 1
fi

if [ "$ENVIRONMENT" = "azure" ]; then
npm run check:oidc-azure
elif [ "$ENVIRONMENT" = "gcp" ]; then
npm run check:oidc-gcp
elif [ "$ENVIRONMENT" = "test" ]; then
if [ "$ENVIRONMENT" = "test" ]; then
if [ -z "${OIDC_TOKEN_FILE}" ]; then
echo "Must specify OIDC_TOKEN_FILE"
exit 1
fi
npm run check:oidc-test
else
if [ -z "${K8S_VARIANT}" ]; then
echo "Must specify K8S_VARIANT"
exit 1
fi
npm run check:oidc-k8s
fi

npm run check:oidc-test
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@
"check:aws": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_aws.test.ts test/integration/auth/mongodb_aws.prose.test.ts",
"check:oidc-auth": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/auth.spec.test.ts",
"check:oidc-test": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc.prose.test.ts",
"check:oidc-azure": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_azure.prose.05.test.ts",
"check:oidc-gcp": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_gcp.prose.06.test.ts",
"check:oidc-k8s": "nyc mocha --config test/mocha_mongodb.js test/integration/auth/mongodb_oidc_k8s.prose.07.test.ts",
"check:kerberos": "nyc mocha --config test/manual/mocharc.js test/manual/kerberos.test.ts",
"check:tls": "nyc mocha --config test/manual/mocharc.js test/manual/tls_support.test.ts",
"check:ldap": "nyc mocha --config test/manual/mocharc.js test/manual/ldap.test.ts",
Expand Down
Loading