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

Appearance settings

Commit 152e0fc

Browse filesBrowse files
author
vshepard
committed
Add more logs for test_basic_temp_slot_for_stream_backup
1 parent 29a2ebc commit 152e0fc
Copy full SHA for 152e0fc

File tree

1 file changed

+8
-6
lines changed
Filter options

1 file changed

+8
-6
lines changed

‎tests/backup_test.py

Copy file name to clipboardExpand all lines: tests/backup_test.py
+8-6Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -950,10 +950,10 @@ def test_persistent_slot_for_stream_backup(self):
950950
# @unittest.skip("skip")
951951
def test_basic_temp_slot_for_stream_backup(self):
952952
""""""
953-
backup_dir = self.backup_dir
954953
node = self.pg_node.make_simple('node',
955-
set_replication=True,
956-
pg_options={'max_wal_size': '40MB'})
954+
set_replication=True,
955+
pg_options={'max_wal_size': '40MB',
956+
'log_min_messages': 'debug5'})
957957

958958
self.pb.init()
959959
self.pb.add_instance('node', node)
@@ -962,15 +962,17 @@ def test_basic_temp_slot_for_stream_backup(self):
962962

963963
# FULL backup
964964
self.pb.backup_node('node', node,
965-
options=['--stream', '--temp-slot'])
965+
options=['--stream', '--temp-slot', '--log-level-file=INFO'])
966966

967967
# FULL backup
968968
self.pb.backup_node('node', node,
969-
options=['--stream', '--slot=slot_1', '--temp-slot=on'])
969+
options=['--stream', '--slot=slot_1', '--temp-slot=on', '--log-level-file=INFO'])
970+
assert '--temp-slot=on' in self.cmd
970971

971972
# FULL backup
972973
self.pb.backup_node('node', node,
973-
options=['--stream', '--slot=slot_1', '--temp-slot=true'])
974+
options=['--stream', '--slot=slot_1', '--temp-slot=true', '--log-level-file=INFO'])
975+
assert '--temp-slot=true' in self.cmd
974976

975977
# @unittest.skip("skip")
976978
@needs_gdb

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.