- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit9814ff5
committed
Add custom filtering rules to the TAP tests of pg_upgrade
002_pg_upgrade.pl gains support for a new environment variable called"filter_rules", that can be used to point to a file that includes aset of custom regular expressions that would be applied to the dumps ofthe origin and target clusters when doing a cross-version test (aka whendefining olddump and oldinstall), to give the possibility to reshapedynamically the dumps in the same way as the internals of the buildfarmcode so as the tests are able to pass in scenarios where one expectsthem to even if pg_dump generates slightly-different outputs dependingon the versions involved.This option is not used when pg_upgrade runs with the same version forthe origin and target clusters, and it is the last piece I see asrequired to be able to plug-in more efficiently the TAP tests ofpg_upgrade with the buildfarm or just a CI.Author: Anton A. MelnikovDiscussion:https://postgr.es/m/49f389ba-95ce-8a9b-09ae-f60650c0e7c7@inbox.ru1 parent2259c66 commit9814ff5
2 files changed
+40
-0
lines changedLines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
20 | 35 |
| |
21 | 36 |
| |
22 | 37 |
| |
|
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
48 | 73 |
| |
49 | 74 |
| |
50 | 75 |
| |
|
0 commit comments
Comments
(0)