bump up waiting period for the operator pod

This commit is contained in:
Sergey Dudoladov 2019-05-24 16:08:08 +02:00
parent 7075d11975
commit a64c355985
1 changed files with 2 additions and 1 deletions

View File

@ -264,7 +264,8 @@ class K8s:
def wait_for_operator_pod_start(self):
self. wait_for_pod_start("name=postgres-operator")
# HACK operator must register CRD / add existing PG clusters after pod start up
time.sleep(10)
# for local execution 10 suffices
time.sleep(30)
def wait_for_pod_start(self, pod_labels, namespace='default'):
pod_phase = 'No pod running'