pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Refactor routine to test connection to SSL server
Date: Thu, 16 Nov 2017 13:46:15 +0000
Message-ID: <E1eFKUh-0002R3-1N@gemulon.postgresql.org> (raw)

Refactor routine to test connection to SSL server

Move the sub-routines wrappers to check if a connection to a server is
fine or not into the test main module. This is useful for other tests
willing to check connectivity into a server.

Author: Michael Paquier <michael@paquier.xyz>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/642bafa0c5f9f08d106a14f31429e0e0c718b603

Modified Files
--------------
src/test/ssl/ServerSetup.pm    |  45 +++++++++++++-
src/test/ssl/t/001_ssltests.pl | 132 +++++++++++++++++------------------------
2 files changed, 100 insertions(+), 77 deletions(-)



Message-ID: <E1eFKUh-0002R3-1N@gemulon.postgresql.org>
Permalink:  ../E1eFKUh-0002R3-1N@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eFKUh-0002R3-1N@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Refactor routine to test connection to SSL server
  In-Reply-To: <E1eFKUh-0002R3-1N@gemulon.postgresql.org>
  References: <E1eFKUh-0002R3-1N@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox