forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit338fb87
committed
Improve stability of subscription/029_on_error.pl
This test was failing when using wal_debug=on and -DWAL_DEBUG because ofadditional log entries that made the test grab an LSN not mapping withthe error expected in the test.Previously the test would look for the first matching line to get theLSN to skip up to. This is improved by having the test scan the logswith a regexp that checks for the expected ERROR string, ensuring thatthe wanted LSN comes from the correct context.Backpatch down to 15 where this test has been introduced.Author: Ian IlyasovDiscussion:https://postgr.es/m/GV1P251MB100415F17E6B2FDD7188777ECDE32@GV1P251MB1004.EURP251.PROD.OUTLOOK.COMBackpatch-through: 151 parent78030a6 commit338fb87
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 |
| - | |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
|
0 commit comments
Comments
(0)