pgsql: Fix test instability introduced in e349c95d3e9 due to async dedu

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix test instability introduced in e349c95d3e9 due to async dedu
Date: 2022-04-07 19:03:58
Message-ID: E1ncXQD-000mCa-Me@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix test instability introduced in e349c95d3e9 due to async deduplication.

The statement emitting notifies tried to make sure page boundaries were
crossed, but failed to do so reliably due to deduplication.

Reported-By: chap(at)anastigmatix(dot)net
Discussion: https://postgr.es/m/20220407185408.n7dvsgqsb3q6uze7@alap3.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/test/isolation/expected/stats.out | 22 +++++++++++-----------
src/test/isolation/expected/stats_1.out | 22 +++++++++++-----------
src/test/isolation/specs/stats.spec | 4 ++--
3 files changed, 24 insertions(+), 24 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-04-07 19:11:01 pgsql: Rewrite some RI code to avoid using SPI
Previous Message Alvaro Herrera 2022-04-07 18:32:09 pgsql: Add isolation tests for snapshot behavior in ri_triggers.c