mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-22 06:28:01 +02:00
print operator log for failing test
This commit is contained in:
@@ -1233,6 +1233,7 @@ class EndToEndTestCase(unittest.TestCase):
|
|||||||
|
|
||||||
# status should again be "SyncFailed" but turn into "Running" on the next sync
|
# status should again be "SyncFailed" but turn into "Running" on the next sync
|
||||||
time.sleep(20)
|
time.sleep(20)
|
||||||
|
print('Operator log: {}'.format(k8s.get_operator_log()))
|
||||||
self.eventuallyEqual(lambda: k8s.pg_get_status(), "Running", "Expected running cluster after two syncs")
|
self.eventuallyEqual(lambda: k8s.pg_get_status(), "Running", "Expected running cluster after two syncs")
|
||||||
|
|
||||||
# revert config changes
|
# revert config changes
|
||||||
|
|||||||
Reference in New Issue
Block a user