debug failing e2e test

This commit is contained in:
Felix Kunde 2026-02-21 19:00:15 +01:00
parent 6db89303a8
commit f157673b56
1 changed files with 2 additions and 0 deletions

View File

@ -1211,6 +1211,8 @@ class EndToEndTestCase(unittest.TestCase):
k8s.create_with_kubectl("manifests/minimal-postgres-lowest-version-manifest.yaml")
self.eventuallyEqual(lambda: k8s.count_running_pods(labels=cluster_label), 2, "No 2 pods running")
time.sleep(30)
print('Operator log: {}'.format(k8s.get_operator_log()))
self.eventuallyEqual(lambda: k8s.get_operator_state(), {"0": "idle"}, "Operator does not get in sync")
self.eventuallyEqual(check_version, 14, "Version is not correct")