Skip to content

Commit bf21802

Browse files
committed
use python 3.10 for eks
1 parent f0bd850 commit bf21802

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.evergreen/scripts/run_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ def run() -> None:
163163
if TEST_NAME == "auth_aws" and SUB_TEST_NAME in ["ecs", "eks"]:
164164
target = f"run-mongodb-aws-{SUB_TEST_NAME}-test.sh"
165165
text = (HERE / "run-aws-container-test.sh").read_text()
166+
if SUB_TEST_NAME == "eks":
167+
text = text.replace("python3.9", "python3.10")
166168
(HERE.parent / target).write_text(text)
167169
run_command(f"{DRIVERS_TOOLS}/.evergreen/auth_aws/aws_setup.sh {SUB_TEST_NAME}")
168170
return

0 commit comments

Comments
 (0)