pgsql: Refactor routine to test connection to SSL server

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor routine to test connection to SSL server
Date: 2017-11-16 13:46:15
Message-ID: E1eFKUh-0002R3-1N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)paquier(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Ashutosh Sharma 2017-11-16 14:14:52 Re: pgsql: Disable installcheck tests for test_session_hooks
Previous Message Michael Paquier 2017-11-16 13:14:51 Re: pgsql: Disable installcheck tests for test_session_hooks