xDS interop: increase pod wait timeout from 1 minute to 3 minutes (#30770)

pull/30796/head
Sergii Tkachenko 2 years ago committed by GitHub
parent 217485a272
commit 48aa1376bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/run_tests/xds_k8s_test_driver/framework/infrastructure/k8s.py

@ -94,6 +94,7 @@ class KubernetesNamespace: # pylint: disable=too-many-public-methods
WAIT_MEDIUM_SLEEP_SEC: int = 10
WAIT_LONG_TIMEOUT_SEC: int = 10 * 60
WAIT_LONG_SLEEP_SEC: int = 30
WAIT_POD_START_TIMEOUT_SEC: int = 3 * 60
def __init__(self, api: KubernetesApiManager, name: str):
self._highlighter = _HighlighterYaml()
@ -283,7 +284,7 @@ class KubernetesNamespace: # pylint: disable=too-many-public-methods
def wait_for_pod_started(self,
pod_name: str,
timeout_sec: int = WAIT_SHORT_TIMEOUT_SEC,
timeout_sec: int = WAIT_POD_START_TIMEOUT_SEC,
wait_sec: int = WAIT_SHORT_SLEEP_SEC) -> None:
timeout = datetime.timedelta(seconds=timeout_sec)
retryer = retryers.constant_retryer(

Loading…
Cancel
Save