Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf48623b

Browse files
committed
Add failing logical replication test for 9.6
1 parentf4e0bd0 commitf48623b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎tests/test_simple.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,12 @@ def test_logical_replication(self):
456456
res=node2.execute('select * from test2')
457457
self.assertListEqual(res, [('a',), ('b',)])
458458

459+
@unittest.skipIf(pg_version_ge('10'),'requires <10')
460+
deftest_logical_replication_fail(self):
461+
withget_new_node()asnode:
462+
withself.assertRaises(InitNodeException):
463+
node.init(allow_logical=True)
464+
459465
deftest_replication_slots(self):
460466
withget_new_node()asnode:
461467
node.init(allow_streaming=True).start()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp