forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd3676a2
committed
Close psql processes gracefully in recovery tests
Under windows, psql processes need to be ended explicitly, or the TAPtests hang. However, the recovery tests were doing this viaIPC::Run::kill_kill(), which causes other major problems on Windows.We solve this by instead sending '\q' to psql so it quits of its ownaccord, and then simply waiting for it. This means we can now run almostall the recovery tests on all Windows platforms.Discussion:https://postgr.es/m/20210301200715.tdjpuesfzebpffgn@alap3.anarazel.de1 parent040af77 commitd3676a2
File tree
2 files changed
+9
-13
lines changed- src/test/recovery/t
2 files changed
+9
-13
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 | 10 |
| |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 11 | + | |
20 | 12 |
| |
21 | 13 |
| |
22 | 14 |
| |
| |||
65 | 57 |
| |
66 | 58 |
| |
67 | 59 |
| |
68 |
| - | |
| 60 | + | |
| 61 | + |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
155 |
| - | |
156 |
| - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
157 | 160 |
| |
158 | 161 |
| |
159 | 162 |
| |
|
0 commit comments
Comments
(0)