mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-20 14:43:22 +02:00
bump up waiting period for the operator pod
This commit is contained in:
@@ -264,7 +264,8 @@ class K8s:
|
|||||||
def wait_for_operator_pod_start(self):
|
def wait_for_operator_pod_start(self):
|
||||||
self. wait_for_pod_start("name=postgres-operator")
|
self. wait_for_pod_start("name=postgres-operator")
|
||||||
# HACK operator must register CRD / add existing PG clusters after pod start up
|
# 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'):
|
def wait_for_pod_start(self, pod_labels, namespace='default'):
|
||||||
pod_phase = 'No pod running'
|
pod_phase = 'No pod running'
|
||||||
|
|||||||
Reference in New Issue
Block a user