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

Commitd13ff82

Browse files
author
Amit Kapila
committed
Fix BF failure in commit93db6cb.
The code to match the required LOG in the test was not robust enough tomatch it. It was using a very specific format to search the requiredmessage which doesn't work when one uses log_error_verbosity = verbose.Author: Hou ZhijieDiscussion:https://postgr.es/m/CAA4eK1KcQSk7wzC7Zfrth9OhrjW2HvxL4tKgU42qqH7p6jn+FA@mail.gmail.com
1 parentefa70c1 commitd13ff82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/test/recovery/t/040_standby_failover_slots_sync.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
$standby1->reload;
374374

375375
# Confirm that the slot sync worker is able to start.
376-
$standby1->wait_for_log(qr/LOG:slot sync worker started/,
376+
$standby1->wait_for_log(qr/slot sync worker started/,
377377
$log_offset);
378378

379379
$log_offset =-s$standby1->logfile;
@@ -384,9 +384,9 @@
384384

385385
# Confirm that slot sync worker acknowledge the GUC change and logs the msg
386386
# about wrong configuration.
387-
$standby1->wait_for_log(qr/LOG:slot sync worker will restart because of a parameter change/,
387+
$standby1->wait_for_log(qr/slot sync worker will restart because of a parameter change/,
388388
$log_offset);
389-
$standby1->wait_for_log(qr/LOG:slot synchronization requires hot_standby_feedback to be enabled/,
389+
$standby1->wait_for_log(qr/slot synchronization requires hot_standby_feedback to be enabled/,
390390
$log_offset);
391391

392392
$log_offset =-s$standby1->logfile;
@@ -396,7 +396,7 @@
396396
$standby1->reload;
397397

398398
# Confirm that the slot sync worker is able to start now.
399-
$standby1->wait_for_log(qr/LOG:slot sync worker started/,
399+
$standby1->wait_for_log(qr/slot sync worker started/,
400400
$log_offset);
401401

402402
##################################################

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp