forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7340ace
committed
Specify --host in 027_stream_regress.pl's pg_regress invocation.
The invocation of pg_regress in 027_stream_regress.pl didn't specify thehost. It ends up working on most systems because of connectiondefaults. However, on windows it makes the test very slow unlessPG_TEST_USE_UNIX_SOCKETS is used.The problem is that windows resolves "localhost" to ::0, 127.0.0.1, the serverstarted only listens on 127.0.0.1. On windows refused TCP connections areinternally retried a few times, with back-off between tries, taking at least 2seconds.Noticed while investigating a complaint about the test's slow speed by AndrewDunstan.Discussion:https://postgr.es/m/20220127220351.kyp3bdaukfytmoqx@alap3.anarazel.de1 parent8ee9408 commit7340ace
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| 61 | + | |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
|
0 commit comments
Comments
(0)