Skip to content

Commit 6833197

Browse files
committed
Fix loadbalancer
1 parent 058d95c commit 6833197

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ functions:
278278
params:
279279
include_expansions_in_env: ["TEST_DATA_LAKE", "PYTHON_BINARY", "AUTH", "SSL",
280280
"TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "TEST_ENCRYPTION", "TEST_ENCRYPTION_PYOPENSSL",
281-
"TEST_CRYPT_SHARED", "TEST_PYOPENSSL", "TEST_LOADBALANCER", "TEST_SEVERLESS", "MONGODB_URL"]
281+
"TEST_CRYPT_SHARED", "TEST_PYOPENSSL", "TEST_LOADBALANCER", "TEST_SEVERLESS", "MONGODB_URI"]
282282
binary: bash
283283
working_dir: "src"
284284
args:

.evergreen/scripts/setup-tests.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,9 @@ def is_set(var: str) -> bool:
8787

8888

8989
def run_command(cmd: str) -> None:
90-
try:
91-
subprocess.run(shlex.split(cmd), check=True) # noqa: S603
92-
except subprocess.CalledProcessError as e:
93-
if e.stderr:
94-
LOGGER.error(e.stderr.decode("utf-8"))
95-
if e.stdout:
96-
LOGGER.error(e.stdout.decode("utf-8"))
97-
raise e
90+
LOGGER.info("Running command %s...", cmd)
91+
subprocess.check_call(shlex.split(cmd)) # noqa: S603
92+
LOGGER.info("Running command %s... done.", cmd)
9893

9994

10095
def handle_test_env() -> None:

0 commit comments

Comments
 (0)