| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Improve test case stability |
| Date: | 2025-11-25 17:36:44 |
| Message-ID: | E1vNwy4-001NJd-15@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Improve test case stability
Given unlucky timing, some of the new tests added by commit bc32a12e0db2
can fail spuriously. We haven't seen such failures yet in buildfarm,
but allegedly we can prevent them with this tweak.
While at it, remove an unused injection point I (Álvaro) added.
Author: Mihail Nikalayeu <mihailnikalayeu(at)gmail(dot)com>
Discussion: https://postgr.es/m/CADzfLwUc=jtSUEaQCtyt8zTeOJ-gHZ8=w_KJsVjDOYSLqaY9Lg@mail.gmail.com
Discussion: https://postgr.es/m/CADzfLwV5oQq-Vg_VmG_o4SdL6yHjDoNO4T4pMtgJLzYGmYf74g@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/417ac9c1eeebc5dd8186a9089055b8af43b2450e
Modified Files
--------------
src/backend/executor/execIndexing.c | 4 +---
src/backend/utils/time/snapmgr.c | 1 +
.../index-concurrently-upsert-predicate.out | 11 ++++++++---
.../expected/index-concurrently-upsert.out | 11 ++++++++---
.../specs/index-concurrently-upsert-predicate.spec | 21 ++++++++++++++-------
.../specs/index-concurrently-upsert.spec | 19 +++++++++++++------
6 files changed, 45 insertions(+), 22 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2025-11-25 17:45:34 | Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent |
| Previous Message | Robert Haas | 2025-11-25 16:25:09 | Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent |