From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix the unstable output of tests added by commit 8fccf75834.
Date: Tue, 13 Oct 2020 07:26:47 +0000
Message-ID: <E1kSEhr-0007Ya-7J@gemulon.postgresql.org> (raw)
Fix the unstable output of tests added by commit 8fccf75834.
The test cases added by that commit were trying to test the exact number of
times a particular transaction has spilled. However, that number can vary if
any background transaction (say by autovacuum) happens in parallel to the main
transaction. So let's not try to verify the exact count.
Author: Amit Kapila
Reviewed-by: Sawada Masahiko
Discussion: https://postgr.es/m/CA+fd4k5_pPAYRTDrO2PbtTOe0eHQpBvuqmCr8ic39uTNmR49Eg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2050832d0d637358a376a99514071941aa93ed31
Modified Files
--------------
contrib/test_decoding/expected/stats.out | 20 +++++++++++---------
contrib/test_decoding/sql/stats.sql | 12 +++++++-----
2 files changed, 18 insertions(+), 14 deletions(-)
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: Fix the unstable output of tests added by commit 8fccf75834.
In-Reply-To: <E1kSEhr-0007Ya-7J@gemulon.postgresql.org>
References: <E1kSEhr-0007Ya-7J@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