8000 Synchronous standbys by zilder · Pull Request #46 · postgrespro/testgres · GitHub
[go: up one dir, main page]

Skip to content

Synchronous standbys #46

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 8 commits into from
Aug 8, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix formatting
  • Loading branch information
zilder committed May 31, 2018
commit 0819053175179cf7f9981855ced49e37dc3b5dd5
12 changes: 6 additions & 6 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,12 +414,12 @@ def test_synchronous_replication(self):
standby2.start()

# check formatting
self.assertEqual('1 ("{}", "{}")'.format(
standby1.name, standby2.name),
str(First(1, (standby1, standby2))))
self.assertEqual('ANY 1 ("{}", "{}")'.format(
standby1.name, standby2.name),
str(Any(1, (standby1, standby2))))
self.assertEqual(
'1 ("{}", "{}")'.format(standby1.name, standby2.name),
str(First(1, (standby1, standby2)))) # yapf: disable
self.assertEqual(
'ANY 1 ("{}", "{}")'.format(standby1.name, standby2.name),
str(Any(1, (standby1, standby2)))) # yapf: disable

# set synchronous_standby_names
master.set_synchronous_standbys([standby1, standby2])
Expand Down
0