Fix new recovery test for log_error_verbosity=verbose case

The new test is from commit 9e4f914b5e.

With this setting messages have SQL error numbers included, so that
needs to be provided for in the pattern looked for.

Backpatch to all live branches like the original.
pull/106/head
Andrew Dunstan 3 years ago
parent ba2002d02c
commit b76e136ceb
  1. 2
      src/test/recovery/t/033_replay_tsp_drops.pl

@ -133,7 +133,7 @@ while ($max_attempts-- >= 0)
last
if (
find_in_log(
$node_standby, "WARNING: creating missing directory: pg_tblspc/",
$node_standby, qr!WARNING: ( [A-Z0-9]+:)? creating missing directory: pg_tblspc/!,
$logstart));
sleep 1;
}

Loading…
Cancel
Save