From 5696c59f224949e390b0a72ec80e47c0c9bf1bda Mon Sep 17 00:00:00 2001 From: Chamikara Jayalath Date: Wed, 13 Sep 2023 23:26:35 -0700 Subject: [PATCH] Increase transform service timeout (#28267) --- .../sdk/transformservice/launcher/TransformServiceLauncher.java | 2 +- sdks/python/apache_beam/utils/transform_service_launcher.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/java/transform-service/launcher/src/main/java/org/apache/beam/sdk/transformservice/launcher/TransformServiceLauncher.java b/sdks/java/transform-service/launcher/src/main/java/org/apache/beam/sdk/transformservice/launcher/TransformServiceLauncher.java index 3878c42affe0..f52fdfed710d 100644 --- a/sdks/java/transform-service/launcher/src/main/java/org/apache/beam/sdk/transformservice/launcher/TransformServiceLauncher.java +++ b/sdks/java/transform-service/launcher/src/main/java/org/apache/beam/sdk/transformservice/launcher/TransformServiceLauncher.java @@ -58,7 +58,7 @@ public class TransformServiceLauncher { private Map environmentVariables = new HashMap<>(); // Amount of time (in milliseconds) to wait till the Docker Compose starts up. - private static final int DEFAULT_START_WAIT_TIME = 25000; + private static final int DEFAULT_START_WAIT_TIME = 50000; private static final int STATUS_LOGGER_WAIT_TIME = 3000; @SuppressWarnings("argument") diff --git a/sdks/python/apache_beam/utils/transform_service_launcher.py b/sdks/python/apache_beam/utils/transform_service_launcher.py index 84f081e64ad9..33feab9bf29c 100644 --- a/sdks/python/apache_beam/utils/transform_service_launcher.py +++ b/sdks/python/apache_beam/utils/transform_service_launcher.py @@ -40,7 +40,7 @@ class TransformServiceLauncher(object): _DEFAULT_PROJECT_NAME = 'apache.beam.transform.service' - _DEFAULT_START_WAIT_TIMEOUT = 25000 + _DEFAULT_START_WAIT_TIMEOUT = 50000 _launchers = {} # type: ignore