pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Remove pgbench "progress" test pending solution of its timing is
Date: Sat, 23 Sep 2017 21:30:13 +0200 (CEST)
Message-ID: <alpine.DEB.2.20.1709232121140.4999@lancre> (raw)
In-Reply-To: <20170923180431.w6mfwpcra5el5j2a@alap3.anarazel.de>
References: <E1dvnp6-000651-R6@gemulon.postgresql.org>
	<alpine.DEB.2.20.1709231931160.4999@lancre>
	<20170923180431.w6mfwpcra5el5j2a@alap3.anarazel.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>


>> If the test must run even when postgres doesn't, it is a little bit 
>> hard as a starting assumption for a benchmarking tool:-(
>
> I'm unsure what the point of this is.  It's not like we discussing
> removing pgbench, we're talking about an unreliable test.

My sentence was probably not very clear.

I just meant that devising a coverage test which does not fail when the 
benchmarking tool is not able to run because of load/valgrind/... is kind 
of hard.

Anything even loosely related to time, here having a few simple SELECT 
transactions over 2 seconds and a few printf into a file or stdout every 
second, can always fail if conditions are bad enough.

So this means somehow giving up on coverage, because of one host which can 
fail under very unusual testing conditions once in a while.

I would prefer to keep the test and have a warning instead, something
like "ok, although a test which is allowed to rarely fail failed", but at 
least the feature are tested most of the time.

Sigh.

-- 
Fabien.


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (9+ messages)  latest in thread

Message-ID: <alpine.DEB.2.20.1709232121140.4999@lancre>
Permalink:  ../alpine.DEB.2.20.1709232121140.4999@lancre/
Also on:    postgresql.org/message-id/alpine.DEB.2.20.1709232121140.4999@lancre

 · 

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: coelho@cri.ensmp.fr, andres@anarazel.de, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove pgbench "progress" test pending solution of its timing is
  In-Reply-To: <alpine.DEB.2.20.1709232121140.4999@lancre>
  References: <E1dvnp6-000651-R6@gemulon.postgresql.org> <alpine.DEB.2.20.1709231931160.4999@lancre> <20170923180431.w6mfwpcra5el5j2a@alap3.anarazel.de> <alpine.DEB.2.20.1709232121140.4999@lancre>

* 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