Skip to content

Commit 3cc224f

Browse files
authored
increase timeout via posargs (#37989)
* raise pytest/grpc timeout * revert timeout bump * Stabilize Python PreCommit with gRPC fork env and YAML CI venv clone fix * Set GRPC_ENABLE_FORK_SUPPORT=0 in Python PreCommit with grpc#37710 TODO
1 parent 5ff3611 commit 3cc224f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/beam_PreCommit_Python.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ env:
5757
PYTHONHASHSEED: "0"
5858
OMP_NUM_THREADS: "1"
5959
OPENBLAS_NUM_THREADS: "1"
60+
# TODO(https://github.com/grpc/grpc/issues/37710): Remove once fixed.
61+
GRPC_ENABLE_FORK_SUPPORT: "0"
6062
# gRPC stability - more conservative for unstable networks
6163
GRPC_ARG_KEEPALIVE_TIME_MS: "10000"
6264
GRPC_ARG_KEEPALIVE_TIMEOUT_MS: "15000"
@@ -117,6 +119,8 @@ jobs:
117119
TC_MAX_TRIES: "15"
118120
TC_SLEEP_TIME: "5"
119121
# Additional gRPC stability for flaky environment
122+
GRPC_ARG_KEEPALIVE_TIME_MS: "60000"
123+
GRPC_ARG_KEEPALIVE_TIMEOUT_MS: "60000"
120124
GRPC_ARG_MAX_CONNECTION_IDLE_MS: "60000"
121125
GRPC_ARG_HTTP2_BDP_PROBE: "1"
122126
GRPC_ARG_SO_REUSEPORT: "1"
@@ -125,6 +129,7 @@ jobs:
125129
# Additional gRPC settings
126130
GRPC_ARG_MAX_RECONNECT_BACKOFF_MS: "120000"
127131
GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS: "2000"
132+
BEAM_RUNNER_BUNDLE_TIMEOUT_MS: "600000"
128133
uses: ./.github/actions/gradle-command-self-hosted-action
129134
with:
130135
gradle-command: :sdks:python:test-suites:tox:py${{steps.set_py_ver_clean.outputs.py_ver_clean}}:preCommitPy${{steps.set_py_ver_clean.outputs.py_ver_clean}}

0 commit comments

Comments
 (0)