Skip to content

Commit

Permalink
[release/4.x] Cherry pick: Fix lts_compatibility in SGX Debug - don…
Browse files Browse the repository at this point in the history
…'t pass unsafe `--enclave-log-level` (#5461) (#5462)
  • Loading branch information
CCF [bot] authored Jul 18, 2023
1 parent f22bda1 commit 62f572e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/infra/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,12 @@ def __init__(
else None
)
if v is None or v >= Version("4.0.5"):
cmd += [
"--enclave-log-level",
enclave_log_level,
]
# Avoid passing too-low level to debug SGX nodes
if not (enclave_type == "debug" and enclave_platform == "sgx"):
cmd += [
"--enclave-log-level",
enclave_log_level,
]

if start_type == StartType.start:
members_info = kwargs.get("members_info")
Expand Down

0 comments on commit 62f572e

Please sign in to comment.