increase wait for healthy timeout
diff --git a/tools/run_tests/python_utils/dockerjob.py b/tools/run_tests/python_utils/dockerjob.py
index cdf5759..a295554 100755
--- a/tools/run_tests/python_utils/dockerjob.py
+++ b/tools/run_tests/python_utils/dockerjob.py
@@ -83,6 +83,8 @@
return
except subprocess.CalledProcessError as e:
pass
+ time.sleep(1)
+ print(subprocess.check_output(['docker', 'ps']))
raise Exception('Timed out waiting for %s (%s) to pass health check' %
(shortname, cid))
@@ -130,7 +132,7 @@
def mapped_port(self, port):
return docker_mapped_port(self._container_name, port)
- def wait_for_healthy(self, timeout_seconds=15):
+ def wait_for_healthy(self, timeout_seconds):
wait_for_healthy(self._container_name, self._spec.shortname, timeout_seconds)
def kill(self, suppress_failure=False):
diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py
index 48f2978..b5977bf 100755
--- a/tools/run_tests/run_interop_tests.py
+++ b/tools/run_tests/run_interop_tests.py
@@ -964,7 +964,7 @@
manual_cmd_log=server_manual_cmd_log)
if not args.manual_run:
job = dockerjob.DockerJob(spec)
- job.wait_for_healthy(timeout_seconds=15)
+ job.wait_for_healthy(timeout_seconds=240)
server_jobs[lang] = job
http2_badserver_ports = tuple([
job.mapped_port(_DEFAULT_SERVER_PORT + i)