Skip to content

Commit f0dac99

Browse files
committed
fix auth oidc
1 parent 75f1eba commit f0dac99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.evergreen/scripts/setup-tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ def handle_test_env() -> None:
189189
write_env("SINGLE_MONGOS_LB_URI", config["SERVERLESS_URI"])
190190
write_env("MULTI_MONGOS_LB_URI", config["SERVERLESS_URI"])
191191
elif test_name == "auth_oidc":
192-
DB_USER = config["OIDC_ADMIN_USER"]
193-
DB_PASSWORD = config["OIDC_ADMIN_PWD"]
192+
DB_USER = os.environ["OIDC_ADMIN_USER"]
193+
DB_PASSWORD = os.environ["OIDC_ADMIN_PWD"]
194194
write_env("DB_IP", config["MONGODB_URI"])
195195
elif test_name == "index_management":
196196
config = read_env(f"{DRIVERS_TOOLS}/.evergreen/atlas/secrets-export.sh")

0 commit comments

Comments
 (0)