forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commiteca2c1e
committed
Add PostgreSQL::Test::Cluster::wait_for_event()
Per a demand from the author and the reviewer of this commit, this addsto Cluster.pm a helper routine that can be used to monitor when aprocess reaches a wanted wait event. This can be used in combinationwith the module injection_points for the "wait" callback, though it isnot limited to it as this monitors pg_stat_activity for a wait_event anda backend_type.Author: Bertrand DrouvotReviewed-by: Andrey BorodinDiscussion:https://postgr.es/m/ZeBB4RMPEZ06TcdY@ip-10-97-1-34.eu-west-3.compute.internal1 parent6782709 commiteca2c1e
File tree
2 files changed
+24
-7
lines changed- src/test
- perl/PostgreSQL/Test
- recovery/t
2 files changed
+24
-7
lines changedLines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2742 | 2742 |
| |
2743 | 2743 |
| |
2744 | 2744 |
| |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
2745 | 2768 |
| |
2746 | 2769 |
| |
2747 | 2770 |
| |
|
Lines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
| 81 | + | |
88 | 82 |
| |
89 | 83 |
| |
90 | 84 |
| |
|
0 commit comments
Comments
(0)