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

Commitd60cfb6

Browse files
committed
Add a wait_for_catchup() before immediate stop of a test master.
Per buildfarm member hoverfly, a slow walsender could make the testfail. Back-patch to v10, where the test was introduced.Discussion:https://postgr.es/m/20200414013849.GA886648@rfd.leadboat.com
1 parente56d717 commitd60cfb6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/test/recovery/t/010_logical_decoding_timelines.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
'xmin on physical slot must not be lower than catalog_xmin');
132132

133133
$node_master->safe_psql('postgres','CHECKPOINT');
134+
$node_master->wait_for_catchup($node_replica,'write');
134135

135136
# Boom, crash
136137
$node_master->stop('immediate');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp