Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33d2883

Browse files
committed
tests: minor fixes
1 parent f586c96 commit 33d2883

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/replica.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,8 +1764,9 @@ def test_replica_via_basebackup(self):
17641764

17651765
# Timeline 2
17661766
# Take stream page backup from instance in timeline2
1767-
page_id = self.backup_node(
1768-
backup_dir, 'node', node, backup_type='full', options=['--stream'])
1767+
self.backup_node(
1768+
backup_dir, 'node', node, backup_type='full',
1769+
options=['--stream', '--log-level-file=verbose'])
17691770

17701771
node.cleanup()
17711772

@@ -1783,8 +1784,6 @@ def test_replica_via_basebackup(self):
17831784

17841785
node.slow_start()
17851786

1786-
# "pg_receivewal --create-slot --slot archive_slot --if-not-exists "
1787-
# "&& pg_receivewal --synchronous -Z 1 /tmp/wal --slot archive_slot --no-loop"
17881787
node_restored = self.make_simple_node(
17891788
base_dir=os.path.join(module_name, fname, 'node_restored'))
17901789
node_restored.cleanup()

0 commit comments

Comments
 (0)