postgres.git / summary / log / commit / refs
commit 2eb3f167f991d4e37b101c56de4e449f63b7a637
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Fri Jul 29 21:43:34 2022 +0000
First released in: 16.0, 10.22, 11.17, 12.12, 13.8, 14.5, 15.0
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.
src/test/recovery/t/033_replay_tsp_drops.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/recovery/t/033_replay_tsp_drops.pl b/src/test/recovery/t/033_replay_tsp_drops.pl
index 7cd55742fc0..5c29cf55e7d 100644
--- a/src/test/recovery/t/033_replay_tsp_drops.pl
+++ b/src/test/recovery/t/033_replay_tsp_drops.pl
@@ -139,7 +139,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;
}
[parent: 5c9ea19b79d0]