Re: Regression tests versus the buildfarm environment - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: Regression tests versus the buildfarm environment
Date
Msg-id 4C6262CB02000025000344A9@gw.wicourts.gov
Whole thread Raw
In response to Regression tests versus the buildfarm environment  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Regression tests versus the buildfarm environment
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> A look at the code shows that it is merely trying to run psql, and
> if psql reports that it can connect to the specified port, then
> pg_regress thinks the postmaster started OK.  Of course, psql was
> really reporting that it could connect to the other instance's
> postmaster.
Clearly picking unique ports for `make check` is the ultimate
solution, but I'm curious whether this would have been caught sooner
with less effort if the pg_ctl TODO titled "Have the postmaster
write a random number to a file on startup that pg_ctl checks
against the contents of a pg_ping response on its initial connection
(without login)" had been implemented.
http://archives.postgresql.org/pgsql-bugs/2009-10/msg00110.php
It sounds like it's related; but was curious to confirm.
-Kevin


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Regression tests versus the buildfarm environment
Next
From: Robert Haas
Date:
Subject: Re: RecordTransactionCommit() and SharedInvalidationMessages