From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Check status of nodes after regression test run in 027_stream_re |
Date: | 2025-07-19 06:03:48 |
Message-ID: | E1ud0fk-0072fW-1y@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Check status of nodes after regression test run in 027_stream_regress
This commit improves the recovery TAP test 027_stream_regress so as
regression diffs are printed only if both the primary and the standby
are still alive after the main regression test suite finishes, relying
on d4c9195eff41 to do the job.
Particularly, a crash of the primary could scribble the contents
reported with mostly useless data, as the diffs would refer to query
that failed to run, not necessarily the cause of the crash.
Suggested-by: Andres Freund <andres(at)anarazel(dot)de>
Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAN55FZ1D6KXvjSs7YGsDeadqCxNF3UUhjRAfforzzP0k-cE=bA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1e9b5140c44b447c203c764dcf366472b4bec500
Modified Files
--------------
src/test/recovery/t/027_stream_regress.pl | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2025-07-19 12:45:24 | pgsql: Fix infinite wait when reading a partially written WAL record |
Previous Message | Michael Paquier | 2025-07-19 05:47:25 | pgsql: Add PostgreSQL::Test::Cluster::is_alive() |