Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sdks/python/apache_beam/yaml/yaml_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def __init__(self, pipeline_spec, test_spec, options, fix_tests):
self._test_spec = test_spec
self._options = options
self._fix_tests = fix_tests
self._fixes = None

def runTest(self):
self._fixes = run_test(
Expand Down
5 changes: 2 additions & 3 deletions sdks/python/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ def configure_beam_rpc_timeouts():
"""
print("\n--- Applying Beam RPC timeout configuration ---")

# Set gRPC keepalive and timeout settings
timeout_env_vars = {
'GRPC_ARG_KEEPALIVE_TIME_MS': '30000',
'GRPC_ARG_KEEPALIVE_TIMEOUT_MS': '5000',
'GRPC_ARG_KEEPALIVE_TIMEOUT_MS': '10000',
'GRPC_ARG_HTTP2_MAX_PINGS_WITHOUT_DATA': '0',
'GRPC_ARG_KEEPALIVE_PERMIT_WITHOUT_CALLS': '1',
'GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS': '300000',
Expand All @@ -66,7 +65,7 @@ def configure_beam_rpc_timeouts():
# Additional stability settings for DinD environment
'GRPC_ARG_MAX_RECONNECT_BACKOFF_MS': '120000',
'GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS': '1000',
'GRPC_ARG_MAX_CONNECTION_IDLE_MS': '300000',
'GRPC_ARG_MAX_CONNECTION_IDLE_MS': '600000',
'GRPC_ARG_MAX_CONNECTION_AGE_MS': '1800000',

# Beam-specific retry and timeout settings
Expand Down
Loading