File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -2032,8 +2032,10 @@ def test_archive_pg_receivexlog_partial_handling(self):
20322032 replica .slow_start (replica = True )
20332033
20342034 if self .get_version (replica ) < 100000 :
2035+ app_name = 'pg_receivexlog'
20352036 pg_receivexlog_path = self .get_bin_path ('pg_receivexlog' )
20362037 else :
2038+ app_name = 'pg_receivewal'
20372039 pg_receivexlog_path = self .get_bin_path ('pg_receivewal' )
20382040
20392041 cmdline = [
@@ -2079,6 +2081,7 @@ def test_archive_pg_receivexlog_partial_handling(self):
20792081 node_restored .data_dir , options = ['--recovery-target=latest' , '--recovery-target-action=promote' ])
20802082 self .set_auto_conf (node_restored , {'port' : node_restored .port })
20812083 self .set_auto_conf (node_restored , {'hot_standby' : 'off' })
2084+ self .set_auto_conf (node_restored , {'synchronous_standby_names' : app_name })
20822085
20832086 # it will set node_restored as warm standby.
20842087# with open(os.path.join(node_restored.data_dir, "standby.signal"), 'w') as f:
You can’t perform that action at this time.
0 commit comments