pgsql: Disable tests using injection points in installcheck

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Disable tests using injection points in installcheck
Date: 2024-03-15 11:09:27
Message-ID: E1rl5RH-003vCU-IG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Disable tests using injection points in installcheck

The 'gin' test injections faults to GIN index build. If another test
running concurrently in the same cluster also tries to create a GIN
index, it will hit the fault, too.

To fix, disable tests using injection points when running against an
existing cluster. A better long-term solution would be to make the
injection points scoped to the database or process, but this will do
for now.

Discussion: https://www.postgresql.org/message-id/CA%2BhUKGJYhcG_o2nwSK6r01eOZJwNWUJUbX%3D%3DAVnW84f-%2B8yamQ@mail.gmail.com
Discussion: https://www.postgresql.org/message-id/10fd6cdd-c5d9-46fe-9fa1-7e661191309e@iki.fi

Branch
------
master

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

Modified Files
--------------
src/test/modules/gin/Makefile | 3 +++
src/test/modules/gin/meson.build | 2 ++
src/test/modules/injection_points/Makefile | 3 +++
src/test/modules/injection_points/meson.build | 2 ++
4 files changed, 10 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-03-15 11:17:03 pgsql: Improve log messages referring to background worker processes
Previous Message Alexander Korotkov 2024-03-15 10:44:53 Re: pgsql: Add TAP tests for timeouts