rename restartInstances to syncPostgreSQLConfiguration

This commit is contained in:
Felix Kunde
2021-07-30 14:37:43 +02:00
parent 20ca09507a
commit 8d5df0c758
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -852,7 +852,7 @@ class EndToEndTestCase(unittest.TestCase):
try:
k8s.create_with_kubectl("manifests/complete-postgres-manifest.yaml")
k8s.wait_for_pod_start("spilo-role=master", self.test_namespace)
k8s.wait_for_pod_start('spilo-role=replica', self.test_namespace)
k8s.wait_for_pod_start("spilo-role=replica", self.test_namespace)
self.assert_master_is_unique(self.test_namespace, "acid-test-cluster")
except timeout_decorator.TimeoutError:
@@ -1501,7 +1501,6 @@ class EndToEndTestCase(unittest.TestCase):
}
k8s.update_config(patch_delete_annotations)
def get_failover_targets(self, master_node, replica_nodes):
'''
If all pods live on the same node, failover will happen to other worker(s)