0001-Add-optional-timeout-to-pg_isready-call-for-TAP-test.patch

text/x-diff

Filename: 0001-Add-optional-timeout-to-pg_isready-call-for-TAP-test.patch
Type: text/x-diff
Part: 0
Message: Re: Improve error reporting in 027_stream_regress test

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch 0001
Subject: Add optional timeout to pg_isready call for TAP tests
File+
src/test/perl/PostgreSQL/Test/Cluster.pm 1 0
From 296b63511a77cecc4712e7c790fcac5a88a21bf0 Mon Sep 17 00:00:00 2001
From: Michael Paquier <michael@paquier.xyz>
Date: Tue, 29 Jul 2025 15:06:08 +0900
Subject: [PATCH] Add optional timeout to pg_isready call for TAP tests

---
 src/test/perl/PostgreSQL/Test/Cluster.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm
index 61f68e0cc2e5..35413f140198 100644
--- a/src/test/perl/PostgreSQL/Test/Cluster.pm
+++ b/src/test/perl/PostgreSQL/Test/Cluster.pm
@@ -304,6 +304,7 @@ sub is_alive
 
 	my $ret = PostgreSQL::Test::Utils::system_log(
 		'pg_isready',
+		'--timeout' => $PostgreSQL::Test::Utils::timeout_default,
 		'--host' => $self->host,
 		'--port' => $self->port);
 
-- 
2.50.0