postgres.git / summary / log / commit / refs
commit e90c4fc881e2c836b4d4fb9fae03310f9c0d8597
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 fb0b6150f27..4d2832e51bb 100644
--- a/src/test/recovery/t/033_replay_tsp_drops.pl
+++ b/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;
}
[parent: 8df167baa7c7]