Honor PGCTLTIMEOUT environment variable for pg_regress' startup wait.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 691073bd8d59daedde3d0183f18a99363a557fd3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-04-21T03:48:13Z
Releases: 9.3.13
Honor PGCTLTIMEOUT environment variable for pg_regress' startup wait.

In commit 2ffa86962077c588 we made pg_ctl recognize an environment variable
PGCTLTIMEOUT to set the default timeout for starting and stopping the
postmaster.  However, pg_regress uses pg_ctl only for the "stop" end of
that; it has bespoke code for starting the postmaster, and that code has
historically had a hard-wired 60-second timeout.  Further buildfarm
experience says it'd be a good idea if that timeout were also controlled
by PGCTLTIMEOUT, so let's make it so.  Like the previous patch, back-patch
to all active branches.

Discussion: <13969.1461191936@sss.pgh.pa.us>

Files

PathChange+/−
src/test/regress/pg_regress.c modified +21 −6