pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve stability of explain regression test.
Date: Fri, 03 Apr 2020 16:27:09 +0000
Message-ID: <E1jKP9x-0003zT-7s@gemulon.postgresql.org> (raw)

Improve stability of explain regression test.

The explain regression test runs EXPLAIN commands via the function
that filters unstable outputs. To produce more stable test output,
this commit improves the function so that it also filters out text-mode
Buffers lines. This is necessary because text-mode Buffers lines vary
depending the system state.

This improvement will get rid of the regression test failure that
the commit ed7a509571 caused on the buildfarm members prion and
dory because of the instability of Buffers lines.

Author: Fujii Masao
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/20200403025751.GB1759@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c0885c4c30698a1beef40a8df0edb253750d3b43

Modified Files
--------------
src/test/regress/expected/explain.out | 8 ++++----
src/test/regress/sql/explain.sql      | 5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)



Message-ID: <E1jKP9x-0003zT-7s@gemulon.postgresql.org>
Permalink:  ../E1jKP9x-0003zT-7s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jKP9x-0003zT-7s@gemulon.postgresql.org

 · 

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: fujii@postgresql.org
  Subject: Re: pgsql: Improve stability of explain regression test.
  In-Reply-To: <E1jKP9x-0003zT-7s@gemulon.postgresql.org>
  References: <E1jKP9x-0003zT-7s@gemulon.postgresql.org>

* 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