File tree 1 file changed +3
-0
lines changed
Filter options
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):
2032
2032
replica .slow_start (replica = True )
2033
2033
2034
2034
if self .get_version (replica ) < 100000 :
2035
+ app_name = 'pg_receivexlog'
2035
2036
pg_receivexlog_path = self .get_bin_path ('pg_receivexlog' )
2036
2037
else :
2038
+ app_name = 'pg_receivewal'
2037
2039
pg_receivexlog_path = self .get_bin_path ('pg_receivewal' )
2038
2040
2039
2041
cmdline = [
@@ -2079,6 +2081,7 @@ def test_archive_pg_receivexlog_partial_handling(self):
2079
2081
node_restored .data_dir , options = ['--recovery-target=latest' , '--recovery-target-action=promote' ])
2080
2082
self .set_auto_conf (node_restored , {'port' : node_restored .port })
2081
2083
self .set_auto_conf (node_restored , {'hot_standby' : 'off' })
2084
+ self .set_auto_conf (node_restored , {'synchronous_standby_names' : app_name })
2082
2085
2083
2086
# it will set node_restored as warm standby.
2084
2087
# 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