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

From Amit Kapila
Subject pgsql: Fix 004_subscription.pl to allow its usage in --link mode.
Date
Msg-id E1rbvxY-006xap-KU@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: ecpg: Fix zero-termination of string generated by intoasc()
Next
From: Peter Eisentraut
Date:
Subject: pgsql: ci: Add test coverage of different pg_upgrade modes