pgsql: Make GIN test using injection points repeatable

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make GIN test using injection points repeatable
Date: 2024-04-07 23:46:05
Message-ID: E1rtcD7-0012Qn-CG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make GIN test using injection points repeatable

As written, the test would fail when run repeatedly because one of the
injection points attached was not detached. This would not matter if
the test is rewritten to be concurrently safe, but let's be clean and
it is a good practice.

Oversight in 6a1ea02c491d.

Discussion: https://postgr.es/m/ZfP7IDs9TvrKe49x@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/997db123c054c597164be77b7bf7da6479471621

Modified Files
--------------
src/test/modules/gin/expected/gin_incomplete_splits.out | 6 ++++++
src/test/modules/gin/sql/gin_incomplete_splits.sql | 2 ++
2 files changed, 8 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-04-07 23:50:08 pgsql: Enhance libpq encryption negotiation tests with new GUC
Previous Message David Rowley 2024-04-07 23:07:00 pgsql: Fix incorrect KeeperBlock macro in bump.c