We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent4bcdda4 commit8291582Copy full SHA for 8291582
tests/archive.py
@@ -2032,8 +2032,10 @@ def test_archive_pg_receivexlog_partial_handling(self):
2032
replica.slow_start(replica=True)
2033
2034
ifself.get_version(replica)<100000:
2035
+app_name='pg_receivexlog'
2036
pg_receivexlog_path=self.get_bin_path('pg_receivexlog')
2037
else:
2038
+app_name='pg_receivewal'
2039
pg_receivexlog_path=self.get_bin_path('pg_receivewal')
2040
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})
2083
self.set_auto_conf(node_restored, {'hot_standby':'off'})
2084
+self.set_auto_conf(node_restored, {'synchronous_standby_names':app_name})
2085
2086
# it will set node_restored as warm standby.
2087
# with open(os.path.join(node_restored.data_dir, "standby.signal"), 'w') as f: