diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-01-22 10:13:59 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-01-22 10:15:32 +0900 |
commit | be31ac25191b26a8a1db345a727545959654f4cb (patch) | |
tree | 49f8dbb89003bae9aa79fa3332b8511bf62d7dad /src/test/perl/PostgreSQL/Test/Cluster.pm | |
parent | 4907ba304c346051a6535e67c043779755a78e84 (diff) | |
download | postgresql-be31ac25191b26a8a1db345a727545959654f4cb.tar.gz postgresql-be31ac25191b26a8a1db345a727545959654f4cb.zip |
Run perltidy
A follow-up patch will adjust the TAP tests to follow a more-structured
format for option lists in commands, that perltidy is able to cope
better with. Putting the tree first in a clean state makes the next
change a bit easier. v20230309 has been used.
Author: Dagfinn Ilmari Mannsåker
Discussion: https://postgr.es/m/87jzc46d8u.fsf@wibble.ilmari.org
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/Cluster.pm')
-rw-r--r-- | src/test/perl/PostgreSQL/Test/Cluster.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index a92944e0d9c..f521ad0b12f 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -1214,7 +1214,8 @@ sub stop print "### Stopping node \"$name\" using mode $mode\n"; my @cmd = ('pg_ctl', '-D', $pgdata, '-m', $mode, 'stop'); - if ($params{timeout}) { + if ($params{timeout}) + { push(@cmd, ('--timeout', $params{timeout})); } $ret = PostgreSQL::Test::Utils::system_log(@cmd); |