Skip to content

Commit

Permalink
Fix lts_compatibility in SGX Debug - don't pass unsafe `--enclave-l…
Browse files Browse the repository at this point in the history
…og-level` (#5461)

(cherry picked from commit bb5438f)
  • Loading branch information
eddyashton committed Jul 18, 2023
1 parent f22bda1 commit 179f3c0
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 179f3c0

Please sign in to comment.