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

Commit94c2386

Browse files
committed
Force nodes for SSL tests to start in TCP mode
Currently they are started in unix socket mode in ost cases, and thenconverted to run in TCP mode. This can result in port collisions, andthere is no virtue in startng in unix socket mode, so start as we willbe going on.Discussion:https://postgr.es/m/d6ee8761-39d1-0033-1afb-d5a57ee056f2@gmail.comBackpatch to all live branches (12 and up).
1 parentece2969 commit94c2386

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/test/ssl/t/SSLServer.pm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ our @EXPORT = qw(
4242
test_connect_ok
4343
);
4444

45+
# Force SSL tests nodes to begin in TCP mode. They won't work in Unix Socket
46+
# mode and this way they will find a port to run on in a more robust way.
47+
# Use an INIT block so it runs after the BEGIN block in TestLib.pm.
48+
49+
INIT {$TestLib::use_unix_sockets = 0; }
50+
4551
# Define a couple of helper functions to test connecting to the server.
4652

4753
# The first argument is a base connection string to use for connection.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp