forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1be0fdb
committed
Fix flakey pg_stat_io test
Wrap test of pg_stat_io's tracking of shared buffer reads in a transaction toprevent concurrent accesses (e.g. by autovacuum) causing spurious testfailures.Reported-by: Tom Lane <tgl@sss.pgh.pa.us>Author: Melanie Plageman <melanieplageman@gmail.com>Discussion:https://www.postgresql.org/message-id/20230306190919.ai6mxdq3sygyyths%40awork3.anarazel.de1 parente20b1ea commit1be0fdb
2 files changed
+8
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1181 | 1181 |
| |
1182 | 1182 |
| |
1183 | 1183 |
| |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
1184 | 1187 |
| |
1185 | 1188 |
| |
1186 | 1189 |
| |
| |||
1190 | 1193 |
| |
1191 | 1194 |
| |
1192 | 1195 |
| |
| 1196 | + | |
1193 | 1197 |
| |
1194 | 1198 |
| |
1195 | 1199 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
576 | 576 |
| |
577 | 577 |
| |
578 | 578 |
| |
| 579 | + | |
| 580 | + | |
| 581 | + | |
579 | 582 |
| |
580 | 583 |
| |
581 | 584 |
| |
582 | 585 |
| |
| 586 | + | |
583 | 587 |
| |
584 | 588 |
| |
585 | 589 |
| |
|
0 commit comments
Comments
(0)