forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb101683
committed
Don't drop NOTICE messages in isolation tests.
For its entire existence, isolationtester.c has forced client_min_messagesto WARNING, but that seems like a very poor choice of test design. Itshould be up to individual test scripts to manage whether they emit noticesand to ensure that the results are stable. (There were no NOTICE messagesin the original set of isolation tests, so this was certainly dead codewhen committed, but perhaps it was needed at some earlier point.)It's possible that the original motivation was due to platform-dependentvariations in the timing of stdout vs. stderr output. That should bemoot since commits73bcb76/6eda3e9c2, but just in case, adjustisotesterNoticeProcessor to print to stdout not stderr. (stderr seemslike the wrong thing anyway: it should be for error printouts not expectedtest output.)Back-patch of commitebd4992 into v12. I'll separately push thisinto older branches, but this is as much change as v12 needs.Discussion:https://postgr.es/m/14616.1564251339@sss.pgh.pa.usDiscussion:https://postgr.es/m/E1i7IqC-0000Uc-5H@gemulon.postgresql.org1 parent97fb88e commitb101683
File tree
4 files changed
+54
-23
lines changed- src/test/isolation
- expected
- specs
4 files changed
+54
-23
lines changedLines changed: 38 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
| 17 | + | |
16 | 18 |
| |
| 19 | + | |
| 20 | + | |
17 | 21 |
| |
18 | 22 |
| |
19 | 23 |
| |
| |||
30 | 34 |
| |
31 | 35 |
| |
32 | 36 |
| |
| 37 | + | |
| 38 | + | |
33 | 39 |
| |
34 | 40 |
| |
35 | 41 |
| |
36 | 42 |
| |
| 43 | + | |
| 44 | + | |
37 | 45 |
| |
38 | 46 |
| |
39 | 47 |
| |
| |||
50 | 58 |
| |
51 | 59 |
| |
52 | 60 |
| |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
53 | 65 |
| |
54 | 66 |
| |
55 | 67 |
| |
| |||
69 | 81 |
| |
70 | 82 |
| |
71 | 83 |
| |
| 84 | + | |
| 85 | + | |
72 | 86 |
| |
| 87 | + | |
| 88 | + | |
73 | 89 |
| |
74 | 90 |
| |
75 | 91 |
| |
| |||
86 | 102 |
| |
87 | 103 |
| |
88 | 104 |
| |
| 105 | + | |
| 106 | + | |
89 | 107 |
| |
90 | 108 |
| |
91 | 109 |
| |
92 | 110 |
| |
| 111 | + | |
| 112 | + | |
93 | 113 |
| |
94 | 114 |
| |
95 | 115 |
| |
| |||
106 | 126 |
| |
107 | 127 |
| |
108 | 128 |
| |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
109 | 133 |
| |
110 | 134 |
| |
111 | 135 |
| |
| |||
127 | 151 |
| |
128 | 152 |
| |
129 | 153 |
| |
| 154 | + | |
| 155 | + | |
130 | 156 |
| |
| 157 | + | |
| 158 | + | |
131 | 159 |
| |
132 | 160 |
| |
133 | 161 |
| |
| |||
144 | 172 |
| |
145 | 173 |
| |
146 | 174 |
| |
| 175 | + | |
| 176 | + | |
147 | 177 |
| |
148 | 178 |
| |
149 | 179 |
| |
150 | 180 |
| |
| 181 | + | |
| 182 | + | |
151 | 183 |
| |
152 | 184 |
| |
153 | 185 |
| |
| |||
163 | 195 |
| |
164 | 196 |
| |
165 | 197 |
| |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
166 | 202 |
| |
167 | 203 |
| |
168 | 204 |
| |
169 | 205 |
| |
| 206 | + | |
| 207 | + | |
170 | 208 |
| |
171 | 209 |
| |
172 | 210 |
| |
|
Lines changed: 10 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
| |||
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 |
| - | |
| 63 | + | |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
| |||
72 | 73 |
| |
73 | 74 |
| |
74 | 75 |
| |
| 76 | + | |
75 | 77 |
| |
76 | 78 |
| |
77 | 79 |
| |
| |||
97 | 99 |
| |
98 | 100 |
| |
99 | 101 |
| |
100 |
| - | |
| 102 | + | |
101 | 103 |
| |
102 | 104 |
| |
103 | 105 |
| |
| |||
110 | 112 |
| |
111 | 113 |
| |
112 | 114 |
| |
| 115 | + | |
113 | 116 |
| |
114 | 117 |
| |
115 | 118 |
| |
| |||
134 | 137 |
| |
135 | 138 |
| |
136 | 139 |
| |
137 |
| - | |
| 140 | + | |
138 | 141 |
| |
139 | 142 |
| |
140 | 143 |
| |
| |||
147 | 150 |
| |
148 | 151 |
| |
149 | 152 |
| |
| 153 | + | |
150 | 154 |
| |
151 | 155 |
| |
152 | 156 |
| |
| |||
173 | 177 |
| |
174 | 178 |
| |
175 | 179 |
| |
176 |
| - | |
| 180 | + | |
177 | 181 |
| |
178 | 182 |
| |
179 | 183 |
| |
| |||
186 | 190 |
| |
187 | 191 |
| |
188 | 192 |
| |
| 193 | + | |
189 | 194 |
|
Lines changed: 1 addition & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
198 |
| - | |
199 |
| - | |
200 |
| - | |
201 |
| - | |
202 | 190 |
| |
203 | 191 |
| |
204 | 192 |
| |
| |||
921 | 909 |
| |
922 | 910 |
| |
923 | 911 |
| |
924 |
| - | |
| 912 | + | |
925 | 913 |
| |
926 | 914 |
| |
927 | 915 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 |
| - | |
| 76 | + | |
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
| 110 | + | |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
|
0 commit comments
Comments
(0)