Skip to content

Commit 6778a83

Browse files
committed
fix setup
1 parent b6bffc8 commit 6778a83

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,10 @@ def handle_test_env() -> None:
371371
if test_name == "auth_aws" and sub_test_name != "ecs-remote":
372372
run_command(f"{DRIVERS_TOOLS}/.evergreen/auth_aws/setup-secrets.sh")
373373
aws_setup = f"{DRIVERS_TOOLS}/.evergreen/auth_aws/aws_setup.sh"
374-
aws_test_type = os.environ["AWS_TEST_TYPE"]
375374
if "AWS_ROLE_SESSION_NAME" in os.environ:
376375
write_env("AWS_ROLE_SESSION_NAME")
377376
if sub_test_name != "ecs":
378-
run_command(f"{aws_setup} {aws_test_type}")
377+
run_command(f"{aws_setup} {sub_test_name}")
379378
creds = read_env(f"{DRIVERS_TOOLS}.evergreen/auth_aws/test-env.sh")
380379
for name, value in creds.items():
381380
write_env(name, value)

0 commit comments

Comments
 (0)