-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partially revert #2810 #2849
Partially revert #2810 #2849
Conversation
f5f730e
to
f66e30f
Compare
…GVERSION env change
f66e30f
to
604b760
Compare
@@ -1187,7 +1187,7 @@ def test_major_version_upgrade(self): | |||
Test major version upgrade: with full upgrade, maintenance window, and annotation | |||
""" | |||
def check_version(): | |||
p = k8s.patroni_rest("acid-upgrade-test-0", "") | |||
p = k8s.patroni_rest("acid-upgrade-test-0", "") or {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or {}?
I don't understand python sometimes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it can return None and then p.get("server_version", 0)
will break everything with exception
or {}
returns empty dict instead of None
5e0fc53
to
e78dbe6
Compare
👍 |
1 similar comment
👍 |
Consider MaintenanceWindows only for pod migration