pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@lists.postgresql.org, Peter Eisentraut <peter_e@gmx.net>
Subject: Re: pgsql: Fix timing issue in new subscription truncate test
Date: Sat, 07 Apr 2018 13:31:53 -0400
Message-ID: <4054.1523122313@sss.pgh.pa.us> (raw)
In-Reply-To: <1930.1523121727@sss.pgh.pa.us>
References: <E1f4rBe-0000n5-AE@gemulon.postgresql.org>
	<405C2782-795E-4374-88C6-16A6FBE9614A@anarazel.de>
	<1930.1523121727@sss.pgh.pa.us>

I wrote:
> Testing the fix here, I just noticed that there's a pre-existing
> problem in subscription/t/002_types.pl.  It passes make check OK,
> but make installcheck not so much.  Investigating ...

Oh ... digging into that, it's because that test depends on hstore,
which I hadn't installed.  How much is that dependency really
buying us?  If there's a good reason to have it, we should
(a) document the requirement in src/test/subscription/README,
and (b) try to make the failure less obscure.  I do not really find
this to be an acceptable spelling of "you didn't install hstore":

t/001_rep_changes.pl .. ok     
t/002_types.pl ........ # Looks like your test exited with 29 before it could output anything.
t/002_types.pl ........ Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 3/3 subtests 
t/003_constraints.pl .. ok   
t/004_sync.pl ......... ok   
t/005_encoding.pl ..... ok   
t/006_rewrite.pl ...... ok   
t/007_ddl.pl .......... ok   
t/008_diff_schema.pl .. ok   
t/009_matviews.pl ..... ok   
t/010_truncate.pl ..... ok   

Test Summary Report
-------------------
t/002_types.pl      (Wstat: 7424 Tests: 0 Failed: 0)
  Non-zero exit status: 29
  Parse errors: Bad plan.  You planned 3 tests but ran 0.
Files=10, Tests=45, 56 wallclock secs ( 0.07 usr  0.03 sys + 32.69 cusr 10.18 csys = 42.97 CPU)
Result: FAIL

			regards, tom lane




view thread (5+ messages)  latest in thread

Message-ID: <4054.1523122313@sss.pgh.pa.us>
Permalink:  ../4054.1523122313@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4054.1523122313@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andres@anarazel.de, peter_e@gmx.net
  Subject: Re: pgsql: Fix timing issue in new subscription truncate test
  In-Reply-To: <4054.1523122313@sss.pgh.pa.us>
  References: <E1f4rBe-0000n5-AE@gemulon.postgresql.org> <405C2782-795E-4374-88C6-16A6FBE9614A@anarazel.de> <1930.1523121727@sss.pgh.pa.us> <4054.1523122313@sss.pgh.pa.us>

* 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