Skip to content

Commit

Permalink
Forward JAVA_TOOL_OPTIONS to tests (if set)
Browse files Browse the repository at this point in the history
Progress towards bazelbuild#1708
  • Loading branch information
fweikert committed Dec 19, 2023
1 parent 299798b commit 931b20c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions buildkite/bazelci.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,9 +1217,10 @@ def execute_commands(
os.environ["BAZELISK_USER_AGENT"] = "Bazelisk/BazelCI"
test_env_vars.append("BAZELISK_USER_AGENT")

# Avoid "Network is unreachable" problems in Python tests due to IPv6
if os.getenv("SSL_CERT_FILE"):
test_env_vars.append("SSL_CERT_FILE")
# Avoid "Network is unreachable" errors in IPv6-only environments
for e in ('JAVA_TOOL_OPTIONS', 'SSL_CERT_FILE'):
if os.getenv(e):
test_env_vars.append(e)

# We use one binary for all Linux platforms (because we also just release one binary for all
# Linux versions and we have to ensure that it works on all of them).
Expand Down

0 comments on commit 931b20c

Please sign in to comment.