pgsql: Fix 004_subscription.pl to allow its usage in --link mode.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix 004_subscription.pl to allow its usage in --link mode.
Date: 2024-02-19 05:12:56
Message-ID: E1rbvxY-006xap-KU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix 004_subscription.pl to allow its usage in --link mode.

The test was failing when executed in --link mode and the reason was that
we were using the old cluster from a previously successful upgrade test.
Re-arrange the tests so that the successful test case is at the end.

Reported-by: Justin Pryzby, Peter Eisentraut
Author: Kuroda Hayato
Reviewed-by: Vignesh C, Amit Kapila
Discussion: https://postgr.es/m/ZcvZipRoi_kopIpb@pryzbyj2023
Discussion: https://postgr.es/m/25f7f4bf-9e75-4453-b666-7818000cefe6@eisentraut.org

Branch
------
master

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

Modified Files
--------------
src/bin/pg_upgrade/t/004_subscription.pl | 368 ++++++++++++++++---------------
1 file changed, 188 insertions(+), 180 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-02-19 08:31:54 pgsql: ci: Add test coverage of different pg_upgrade modes
Previous Message Michael Paquier 2024-02-19 02:39:20 pgsql: ecpg: Fix zero-termination of string generated by intoasc()