Skip to content

Commit 7ee0c20

Browse files
committed
Fix synchronous standbys test
1 parent 3be3760 commit 7ee0c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/test_simple.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def test_synchronous_replication(self):
437437
str(Any(1, (standby1, standby2)))) # yapf: disable
438438

439439
# set synchronous_standby_names
440-
master.set_synchronous_standbys([standby1, standby2])
440+
master.set_synchronous_standbys(First(2, [standby1, standby2]))
441441
master.restart()
442442

443443
# the following part of the test is only applicable to newer

0 commit comments

Comments
 (0)