sleep more to get in sync

This commit is contained in:
Rafia Sabih 2020-11-02 15:26:36 +01:00
parent 65d547f740
commit 79cdf08cf0
1 changed files with 1 additions and 1 deletions

View File

@ -834,7 +834,7 @@ class EndToEndTestCase(unittest.TestCase):
# this delete attempt should be omitted because of missing annotations # this delete attempt should be omitted because of missing annotations
k8s.api.custom_objects_api.delete_namespaced_custom_object( k8s.api.custom_objects_api.delete_namespaced_custom_object(
"acid.zalan.do", "v1", "default", "postgresqls", "acid-minimal-cluster") "acid.zalan.do", "v1", "default", "postgresqls", "acid-minimal-cluster")
time.sleep(5) time.sleep(15)
self.eventuallyEqual(lambda: k8s.get_operator_state(), {"0":"idle"}, "Operator does not get in sync") self.eventuallyEqual(lambda: k8s.get_operator_state(), {"0":"idle"}, "Operator does not get in sync")
# check that pods and services are still there # check that pods and services are still there