I wrote:
> vignesh C <[email protected]> writes:
>> Conchuela is failing because of:
>> ok 17 - connect to node standby_1 if mode "standby" and standby_1,primary
>> listed
>> ack Broken pipe: write( 13, 'SHOW port;' ) at
>> /usr/local/lib/perl5/site_perl/IPC/Run/IO.pm line 549.
> It didn't fail on the next run, so this might just be a phase-of-the-moon
> glitch. Conchuela is a bit prone to that sort of thing, in my experience.
> We'll have to wait and see if it's at all repeatable.
Conchuela hasn't shown it again, but it turns out to be repeatable
on my old warhorse gaur. After a bit of study I see the problem:
we're asking Perl to write to the stdin of a psql process that
may not be there to receive the data. We've dodged that issue
in other tests by passing "undef" as the stdin to sub psql, so
that's what I did here.
regards, tom lane