@@ -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