Skip to content

Commit 838a800

Browse files
committed
fix promote() method for Postgres versions below 10
1 parent 7c48fae commit 838a800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testgres/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def promote(self, dbname=None, username=None):
717717

718718
self.poll_query_until(
719719
query=check_query,
720-
expected="on",
720+
expected="off",
721721
dbname=dbname,
722722
username=username,
723723
max_attempts=0) # infinite

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy