forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3f32395
committed
isolationtester: append session name to application_name.
When writing / debugging an isolation test it sometimes is useful to see whichsession holds what lock etc. To make it easier, both as part of spec files andinteractively, append the session name to application_name. Sinceb1907d6application_name already contains the test name, this appends the session'sname to that.insert-conflict-specconflict did something like this manually, which can nowbe removed.As we have done lately with other test infrastructure improvements, backpatchthis change, to make it easier to backpatch tests.Author: Andres Freund <andres@anarazel.de>Reviewed-By: Michael Paquier <michael@paquier.xyz>Reviewed-By: Andrew Dunstan <andrew@dunslane.net>Discussion:https://postgr.es/m/20211211012052.2blmzcmxnxqawd2z@alap3.anarazel.deBackpatch: 10-, to make backpatching of tests easier.1 parent45f5270 commit3f32395
File tree
3 files changed
+37
-16
lines changed- src/test/isolation
- expected
- specs
3 files changed
+37
-16
lines changedLines changed: 10 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
490 | 490 |
| |
491 | 491 |
| |
492 | 492 |
| |
493 |
| - | |
| 493 | + | |
494 | 494 |
| |
495 | 495 |
| |
496 | 496 |
| |
497 | 497 |
| |
498 |
| - | |
499 |
| - | |
500 |
| - | |
501 |
| - | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
502 | 502 |
| |
503 | 503 |
| |
504 | 504 |
| |
| |||
517 | 517 |
| |
518 | 518 |
| |
519 | 519 |
| |
520 |
| - | |
| 520 | + | |
521 | 521 |
| |
522 | 522 |
| |
523 | 523 |
| |
524 | 524 |
| |
525 |
| - | |
526 |
| - | |
527 |
| - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
528 | 528 |
| |
529 | 529 |
| |
530 | 530 |
| |
| |||
544 | 544 |
| |
545 | 545 |
| |
546 | 546 |
| |
547 |
| - | |
| 547 | + | |
548 | 548 |
| |
549 | 549 |
| |
550 | 550 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
| 157 | + | |
| 158 | + | |
157 | 159 |
| |
158 |
| - | |
| 160 | + | |
159 | 161 |
| |
160 |
| - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
161 | 165 |
| |
162 | 166 |
| |
163 | 167 |
| |
| |||
182 | 186 |
| |
183 | 187 |
| |
184 | 188 |
| |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
185 | 209 |
| |
186 | 210 |
| |
187 | 211 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
51 | 50 |
| |
52 | 51 |
| |
53 | 52 |
| |
| |||
66 | 65 |
| |
67 | 66 |
| |
68 | 67 |
| |
69 |
| - | |
| 68 | + | |
70 | 69 |
| |
71 | 70 |
| |
72 | 71 |
| |
| |||
75 | 74 |
| |
76 | 75 |
| |
77 | 76 |
| |
78 |
| - | |
79 | 77 |
| |
80 | 78 |
| |
81 | 79 |
| |
| |||
90 | 88 |
| |
91 | 89 |
| |
92 | 90 |
| |
93 |
| - | |
94 | 91 |
| |
95 | 92 |
| |
96 | 93 |
| |
|
0 commit comments
Comments
(0)