Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)