Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8291582

Browse files
committed
tests: another fix for test_archive_pg_receivexlog_partial_handling
1 parent4bcdda4 commit8291582

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎tests/archive.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,8 +2032,10 @@ def test_archive_pg_receivexlog_partial_handling(self):
20322032
replica.slow_start(replica=True)
20332033

20342034
ifself.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:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp