Skip to content

Commit b15fcf6

Browse files
committed
refine test_same_db_id test
1 parent 629b732 commit b15fcf6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/catchup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,11 @@ def test_same_db_id(self):
596596
destination_node = dst_pg,
597597
options = ['-d', 'postgres', '-p', str(src_pg.port), '--stream']
598598
)
599+
dst_options = {}
600+
dst_options['port'] = str(dst_pg.port)
601+
self.set_auto_conf(dst_pg, dst_options)
602+
dst_pg.slow_start()
603+
dst_pg.stop()
599604
# fake destination
600605
fake_dst_pg = self.make_simple_node(base_dir = os.path.join(module_name, self.fname, 'fake_dst'))
601606
# fake source

0 commit comments

Comments
 (0)