forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit23f722b
committed
Fix race condition in test_decoding "slot" test.
This test, just added in commita924c32, sometimes fails becausethe old backend hasn't finished dropping the temporary replication slotwhen the new backend looks. Borrow the previously-invented methodologyfor waiting for the old process to disappear from pg_stat_activity.Petr JelinekDiscussion:https://postgr.es/m/62935e6f-4f1b-c433-e0fa-7f936a38b3e5@2ndquadrant.com1 parentb4630e0 commit23f722b
2 files changed
+26
-9
lines changedLines changed: 14 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
27 | 39 |
| |
28 | 40 |
| |
29 | 41 |
| |
30 | 42 |
| |
31 | 43 |
| |
32 | 44 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 | 45 |
| |
37 | 46 |
| |
38 | 47 |
| |
|
Lines changed: 12 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 |
| |
12 | 18 |
| |
13 | 19 |
| |
14 | 20 |
| |
| 21 | + | |
| 22 | + | |
15 | 23 |
| |
16 | 24 |
| |
17 | 25 |
| |
|
0 commit comments
Comments
(0)