pgsql: Fix backstop in gin test if injection point is not reached

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix backstop in gin test if injection point is not reached
Date: 2024-03-15 15:56:09
Message-ID: E1rl9uj-003wnG-27@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix backstop in gin test if injection point is not reached

Per Tom Lane's observation that the test got stuck in infinite loop if
the injection_points module was not loaded. It was supposed to give up
after 10000 iterations, but the backstop was broken.

Discussion: https://www.postgresql.org/message-id/2498595.1710511222%40sss.pgh.pa.us

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-03-15 16:04:40 pgsql: Fix handling of expecteddir in pg_regress
Previous Message Heikki Linnakangas 2024-03-15 13:22:25 pgsql: Try to unbreak injection-fault tests in the buildfarm