Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7340ace

Browse files
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.de
1 parent8ee9408 commit7340ace

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/test/recovery/t/027_stream_regress.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
system_or_bail($ENV{PG_REGRESS} ."$extra_opts" .
5959
"--dlpath=\"$dlpath\"" .
6060
"--bindir=" .
61+
"--host=" .$node_primary->host ."" .
6162
"--port=" .$node_primary->port ."" .
6263
"--schedule=../regress/parallel_schedule" .
6364
"--max-concurrent-tests=20" .

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp