Skip to content

Commit e55c810

Browse files
author
Oleksandr Poliakov
committed
wip
1 parent 34628a4 commit e55c810

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

build.cake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,6 @@ Task("TestMongoDbOidc")
264264
action: (BuildConfig buildConfig, Path testProject) =>
265265
RunTests(buildConfig, testProject, filter: "Category=\"MongoDbOidc\""));
266266

267-
Task("TestMongoDbOidcNet472").IsDependentOn("TestMongoDbOidc");
268-
Task("TestMongoDbOidcNetStandard20").IsDependentOn("TestMongoDbOidc");
269-
Task("TestMongoDbOidcNetStandard21").IsDependentOn("TestMongoDbOidc");
270-
Task("TestMongoDbOidcNet60").IsDependentOn("TestMongoDbOidc");
271-
272267
Task("TestServerless")
273268
.IsDependentOn("Build")
274269
.DoesForEach(

evergreen/evergreen.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,6 +2205,12 @@ buildvariants:
22052205
tasks:
22062206
- name: plain-auth-tests
22072207

2208+
- matrix_name: mongodb-oidc-tests
2209+
matrix_spec: { os: "*" }
2210+
display_name: "MongoDB-OIDC Auth tests - ${os}"
2211+
tasks:
2212+
- name: test-oidc-auth-aws
2213+
22082214
- matrix_name: "ocsp-tests"
22092215
matrix_spec: { version: ["4.4", "5.0", "6.0", "7.0", "rapid", "latest"], auth: "noauth", ssl: "ssl", topology: "standalone", os: "windows-64" }
22102216
display_name: "OCSP ${version} ${os}"

evergreen/run-mongodb-oidc-tests.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
set -o errexit # Exit the script with error if any of the commands fail
55

66
# Supported/used environment variables:
7-
# FRAMEWORK Used in build.cake task, must be set
87
# OS Operating system, must be set
98
# ADMIN_USER Admin user, must be set
109
# ADMIN_PASSWORD Admin password, must be set
@@ -20,11 +19,6 @@ set -o errexit # Exit the script with error if any of the commands fail
2019
# Main Program #
2120
############################################
2221

23-
if [ -z "$FRAMEWORK" ]; then
24-
echo "FRAMEWORK should be specified"
25-
exit 1
26-
fi
27-
2822
if [ -z "$ADMIN_USER" ]; then
2923
echo "ADMIN_USER should be specified"
3024
exit 1
@@ -75,7 +69,7 @@ export OIDC_PROVIDER_NAME="aws"
7569
export OIDC_TESTS_ENABLED="true"
7670

7771
if [ "Windows_NT" = "$OS" ]; then
78-
powershell.exe .\\build.ps1 --target "TestMongoDbOidc${FRAMEWORK}"
72+
powershell.exe .\\build.ps1 --target "TestMongoDbOidc"
7973
else
80-
./build.sh --target="TestServerless${FRAMEWORK}"
74+
./build.sh --target="TestServerless"
8175
fi

0 commit comments

Comments
 (0)