@@ -950,10 +950,10 @@ def test_persistent_slot_for_stream_backup(self):
950
950
# @unittest.skip("skip")
951
951
def test_basic_temp_slot_for_stream_backup (self ):
952
952
""""""
953
- backup_dir = self .backup_dir
954
953
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' })
957
957
958
958
self .pb .init ()
959
959
self .pb .add_instance ('node' , node )
@@ -962,15 +962,17 @@ def test_basic_temp_slot_for_stream_backup(self):
962
962
963
963
# FULL backup
964
964
self .pb .backup_node ('node' , node ,
965
- options = ['--stream' , '--temp-slot' ])
965
+ options = ['--stream' , '--temp-slot' , '--log-level-file=INFO ' ])
966
966
967
967
# FULL backup
968
968
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
970
971
971
972
# FULL backup
972
973
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
974
976
975
977
# @unittest.skip("skip")
976
978
@needs_gdb
0 commit comments