- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitc259ba8
committed
aio: Use runtime arguments with injections points in tests
This cleans up the code related to the testing infrastructure of AIOthat used injection points, switching the test code to use the newfacility for injection points added by371f2db rather than tweaksto pass and reset arguments to the callbacks run.This removes all the dependencies to USE_INJECTION_POINTS in the AIOcode. pgaio_io_call_inj(), pgaio_inj_io_get() and pgaio_inj_cur_handleare now gone.Reviewed-by: Greg Burd <greg@burd.me>Discussion:https://postgr.es/m/Z_y9TtnXubvYAApS@paquier.xyz1 parent36e5fda commitc259ba8
File tree
4 files changed
+5
-80
lines changed- src
- backend/storage/aio
- include/storage
- test/modules/test_aio
4 files changed
+5
-80
lines changedLines changed: 2 additions & 56 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
49 | 50 |
| |
50 | 51 |
| |
51 | 52 |
| |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 | 53 |
| |
57 | 54 |
| |
58 | 55 |
| |
| |||
96 | 93 |
| |
97 | 94 |
| |
98 | 95 |
| |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 | 96 |
| |
111 | 97 |
| |
112 | 98 |
| |
| |||
507 | 493 |
| |
508 | 494 |
| |
509 | 495 |
| |
510 |
| - | |
| 496 | + | |
511 | 497 |
| |
512 | 498 |
| |
513 | 499 |
| |
| |||
1255 | 1241 |
| |
1256 | 1242 |
| |
1257 | 1243 |
| |
1258 |
| - | |
1259 |
| - | |
1260 |
| - | |
1261 |
| - | |
1262 |
| - | |
1263 |
| - | |
1264 |
| - | |
1265 |
| - | |
1266 |
| - | |
1267 |
| - | |
1268 |
| - | |
1269 |
| - | |
1270 |
| - | |
1271 |
| - | |
1272 |
| - | |
1273 |
| - | |
1274 |
| - | |
1275 |
| - | |
1276 |
| - | |
1277 |
| - | |
1278 |
| - | |
1279 |
| - | |
1280 |
| - | |
1281 |
| - | |
1282 |
| - | |
1283 |
| - | |
1284 |
| - | |
1285 |
| - | |
1286 |
| - | |
1287 |
| - | |
1288 |
| - | |
1289 |
| - | |
1290 |
| - | |
1291 |
| - | |
1292 |
| - | |
1293 |
| - | |
1294 |
| - | |
1295 |
| - | |
1296 |
| - | |
1297 |
| - |
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
| |||
525 | 526 |
| |
526 | 527 |
| |
527 | 528 |
| |
528 |
| - | |
| 529 | + | |
529 | 530 |
| |
530 | 531 |
| |
531 | 532 |
| |
|
Lines changed: 0 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
394 | 394 |
| |
395 | 395 |
| |
396 | 396 |
| |
397 |
| - | |
398 |
| - | |
399 |
| - | |
400 |
| - | |
401 |
| - | |
402 |
| - | |
403 |
| - | |
404 |
| - | |
405 |
| - | |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 |
| - | |
414 |
| - | |
415 |
| - | |
416 |
| - | |
417 | 397 |
| |
418 | 398 |
| |
419 | 399 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
684 | 684 |
| |
685 | 685 |
| |
686 | 686 |
| |
687 |
| - | |
| 687 | + | |
688 | 688 |
| |
689 | 689 |
| |
690 | 690 |
| |
| |||
693 | 693 |
| |
694 | 694 |
| |
695 | 695 |
| |
696 |
| - | |
697 |
| - | |
698 | 696 |
| |
699 | 697 |
| |
700 | 698 |
| |
|
0 commit comments
Comments
(0)