Skip to content

Commit 3bbd5f2

Browse files
committed
PYTHON-5196 Convert OIDC tests to use new test scripts
1 parent cb4a70b commit 3bbd5f2

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,48 @@ tasks:
10431043
tags: [ocsp, ocsp-rsa]
10441044

10451045
# Oidc tests
1046+
- name: test-auth-oidc-test
1047+
commands:
1048+
- func: run tests
1049+
vars:
1050+
TEST_NAME: auth_oidc
1051+
SUB_TEST_NAME: test
1052+
tags: [auth_oidc]
1053+
- name: test-auth-oidc-azure
1054+
commands:
1055+
- func: run tests
1056+
vars:
1057+
TEST_NAME: auth_oidc
1058+
SUB_TEST_NAME: azure
1059+
tags: [auth_oidc, auth_oidc_remote]
1060+
- name: test-auth-oidc-gcp
1061+
commands:
1062+
- func: run tests
1063+
vars:
1064+
TEST_NAME: auth_oidc
1065+
SUB_TEST_NAME: gcp
1066+
tags: [auth_oidc, auth_oidc_remote]
1067+
- name: test-auth-oidc-eks
1068+
commands:
1069+
- func: run tests
1070+
vars:
1071+
TEST_NAME: auth_oidc
1072+
SUB_TEST_NAME: eks
1073+
tags: [auth_oidc, auth_oidc_remote]
1074+
- name: test-auth-oidc-aks
1075+
commands:
1076+
- func: run tests
1077+
vars:
1078+
TEST_NAME: auth_oidc
1079+
SUB_TEST_NAME: aks
1080+
tags: [auth_oidc, auth_oidc_remote]
1081+
- name: test-auth-oidc-gke
1082+
commands:
1083+
- func: run tests
1084+
vars:
1085+
TEST_NAME: auth_oidc
1086+
SUB_TEST_NAME: gke
1087+
tags: [auth_oidc, auth_oidc_remote]
10461088

10471089
# Server tests
10481090
- name: test-4.0-standalone-auth-ssl-sync

.evergreen/scripts/generate_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ def create_oidc_tasks():
894894
if sub_test != "test":
895895
tags.append("auth_oidc_remote")
896896
tasks.append(EvgTask(name=task_name, tags=tags, commands=[test_func]))
897-
tasks.append([])
897+
return tasks
898898

899899

900900
def _create_ocsp_task(algo, variant, server_type, base_task_name):

0 commit comments

Comments
 (0)