8000 Add promote() method by zilder · Pull Request #47 · postgrespro/testgres · GitHub
[go: up one dir, main page]

Skip to content

Add promote() method #47

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

Merged
merged 7 commits into from
Jun 4, 2018
Merged
Prev Previous commit
Next Next commit
fix promote() method for Postgres versions below 10
  • Loading branch information
zilder committed Jun 4, 2018
commit 838a80053a42715020b5dbccc5927de78b1156ee
2 changes: 1 addition & 1 deletion testgres/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def promote(self, dbname=None, username=None):

self.poll_query_until(
query=check_query,
expected="on",
expected="off",
dbname=dbname,
username=username,
max_attempts=0) # infinite
Expand Down
0