Commit 4c2eda6
committed
Fix race condition in transaction timeout TAP tests
The interruption handler within the injection point can get stuck in an
infinite loop while handling transaction timeout. To avoid this situation
we reset the timeout flag before invoking the injection point.
Author: Alexander Korotkov
Reviewed-by: Andrey Borodin
Discussion: https://postgr.es/m/ZfPchPC6oNN71X2J%40paquier.xyz1 parent a3f349c commit 4c2eda6
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3409 | 3409 | | |
3410 | 3410 | | |
3411 | 3411 | | |
3412 | | - | |
| 3412 | + | |
| 3413 | + | |
3413 | 3414 | | |
| 3415 | + | |
3414 | 3416 | | |
3415 | 3417 | | |
3416 | 3418 | | |
3417 | 3419 | | |
3418 | 3420 | | |
3419 | 3421 | | |
3420 | 3422 | | |
3421 | | - | |
3422 | | - | |
3423 | 3423 | | |
3424 | 3424 | | |
3425 | 3425 | | |
3426 | 3426 | | |
3427 | 3427 | | |
| 3428 | + | |
3428 | 3429 | | |
3429 | 3430 | | |
3430 | 3431 | | |
3431 | 3432 | | |
3432 | 3433 | | |
3433 | 3434 | | |
3434 | 3435 | | |
3435 | | - | |
3436 | | - | |
3437 | 3436 | | |
3438 | 3437 | | |
3439 | 3438 | | |
3440 | 3439 | | |
3441 | 3440 | | |
| 3441 | + | |
3442 | 3442 | | |
3443 | 3443 | | |
3444 | 3444 | | |
3445 | 3445 | | |
3446 | 3446 | | |
3447 | 3447 | | |
3448 | 3448 | | |
3449 | | - | |
3450 | | - | |
3451 | 3449 | | |
3452 | 3450 | | |
3453 | 3451 | | |
| |||
0 commit comments