pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Another try to fix the test case added by commit f5fc2f5b23.
Date: Fri, 30 Apr 2021 02:27:25 +0000
Message-ID: <E1lcIsH-0002O5-S0@gemulon.postgresql.org> (raw)

Another try to fix the test case added by commit f5fc2f5b23.

As per analysis, it appears that the 'drop slot' message from the previous
test and 'create slot' message of the new test are either missed or not
yet delivered to the stats collector due to which we will still see the
stats from the old slot. This can happen rarely which could be the reason
that we are seeing some failures in the buildfarm randomly. To avoid that
we are using a different slot name for the tests in
test_decoding/sql/stats.sql.

Reported-by: Tom Lane based on buildfarm reports
Author: Sawada Masahiko
Reviewed-by: Amit Kapila, Vignesh C
Discussion: https://postgr.es/m/20210319185247.ldebgpdaxsowiflw@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/51ef9173030cc196c6633ae82b7b32f404b0f768

Modified Files
--------------
contrib/test_decoding/expected/stats.out | 62 ++++++++++++++++----------------
contrib/test_decoding/sql/stats.sql      | 20 ++++++-----
2 files changed, 43 insertions(+), 39 deletions(-)



Message-ID: <E1lcIsH-0002O5-S0@gemulon.postgresql.org>
Permalink:  ../E1lcIsH-0002O5-S0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lcIsH-0002O5-S0@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: akapila@postgresql.org
  Subject: Re: pgsql: Another try to fix the test case added by commit f5fc2f5b23.
  In-Reply-To: <E1lcIsH-0002O5-S0@gemulon.postgresql.org>
  References: <E1lcIsH-0002O5-S0@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