Commit 98f247f
committed
monitor: add make installcheck target and fix regression test
Add a top-level 'make installcheck' target that builds the PG16 test
Docker image and runs the monitor's SQL regression suite (pg_regress)
inside a fresh container. Defaults to PGVERSION=16; override with
INSTALLCHECK_PGVERSION=17 etc.
Fix node_active_protocol.sql to work in the full regression sequence:
- Pass number_sync_standbys to create_formation() (5-arg form)
- Capture registered node IDs via \\gset after registration so the test
is not sensitive to how many nodes prior tests (monitor, workers) created
- Move node_active_protocol before dummy_update in REGRESS order to avoid
running against a downgraded 'dummy' extension version
Update expected/node_active_protocol.out from the actual pg_regress output.1 parent baf3434 commit 98f247f
4 files changed
Lines changed: 107 additions & 85 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
108 | 128 | | |
109 | 129 | | |
110 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments