diff --git a/.github/workflows/beam_PreCommit_Python.yml b/.github/workflows/beam_PreCommit_Python.yml index 4115034a8a19..42098a3d72d2 100644 --- a/.github/workflows/beam_PreCommit_Python.yml +++ b/.github/workflows/beam_PreCommit_Python.yml @@ -57,6 +57,8 @@ env: PYTHONHASHSEED: "0" OMP_NUM_THREADS: "1" OPENBLAS_NUM_THREADS: "1" + # TODO(https://github.com/grpc/grpc/issues/37710): Remove once fixed. + GRPC_ENABLE_FORK_SUPPORT: "0" # gRPC stability - more conservative for unstable networks GRPC_ARG_KEEPALIVE_TIME_MS: "10000" GRPC_ARG_KEEPALIVE_TIMEOUT_MS: "15000" @@ -117,6 +119,8 @@ jobs: TC_MAX_TRIES: "15" TC_SLEEP_TIME: "5" # Additional gRPC stability for flaky environment + GRPC_ARG_KEEPALIVE_TIME_MS: "60000" + GRPC_ARG_KEEPALIVE_TIMEOUT_MS: "60000" GRPC_ARG_MAX_CONNECTION_IDLE_MS: "60000" GRPC_ARG_HTTP2_BDP_PROBE: "1" GRPC_ARG_SO_REUSEPORT: "1" @@ -125,6 +129,7 @@ jobs: # Additional gRPC settings GRPC_ARG_MAX_RECONNECT_BACKOFF_MS: "120000" GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS: "2000" + BEAM_RUNNER_BUNDLE_TIMEOUT_MS: "600000" uses: ./.github/actions/gradle-command-self-hosted-action with: 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}}