2 # Copyright (c) 2021-2024, PostgreSQL Global Development Group
5 use warnings FATAL
=> 'all';
7 use PostgreSQL
::Test
::Cluster
;
8 use PostgreSQL
::Test
::Utils
;
11 program_help_ok
('pg_isready');
12 program_version_ok
('pg_isready');
13 program_options_handling_ok
('pg_isready');
15 command_fails
(['pg_isready'], 'fails with no server running');
17 my $node = PostgreSQL
::Test
::Cluster
->new('main');
22 [ 'pg_isready', "--timeout=$PostgreSQL::Test::Utils::timeout_default" ],
23 'succeeds with server running');