Skip to content

Commit 45fc338

Browse files
committed
fix pass through handling
1 parent 4eca497 commit 45fc338

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
@@ -166,8 +166,7 @@ def handle_test_env() -> None:
166166

167167
# Handle pass through env vars.
168168
for var in PASS_THROUGH_ENV:
169-
opt_name = var.lower().replace("_", "-")
170-
if is_set(var) or getattr(opts, opt_name):
169+
if is_set(var) or getattr(opts, var):
171170
write_env(var, os.environ[var])
172171

173172
if extra := EXTRAS_MAP.get(test_name, ""):

0 commit comments

Comments
 (0)