pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix flakey pg_stat_io test
Date: Tue, 07 Mar 2023 18:17:26 +0000
Message-ID: <E1pZbsM-002NbN-97@gemulon.postgresql.org> (raw)

Fix flakey pg_stat_io test

Wrap test of pg_stat_io's tracking of shared buffer reads in a transaction to
prevent concurrent accesses (e.g. by autovacuum) causing spurious test
failures.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Author: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://www.postgresql.org/message-id/20230306190919.ai6mxdq3sygyyths%40awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1be0fdb9de559ce8daf6d5603f0329cbd056111a

Modified Files
--------------
src/test/regress/expected/stats.out | 4 ++++
src/test/regress/sql/stats.sql      | 4 ++++
2 files changed, 8 insertions(+)



Message-ID: <E1pZbsM-002NbN-97@gemulon.postgresql.org>
Permalink:  ../E1pZbsM-002NbN-97@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pZbsM-002NbN-97@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: andres@anarazel.de
  Subject: Re: pgsql: Fix flakey pg_stat_io test
  In-Reply-To: <E1pZbsM-002NbN-97@gemulon.postgresql.org>
  References: <E1pZbsM-002NbN-97@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