diff options
Diffstat (limited to 'src/bin/scripts/t/080_pg_isready.pl')
-rw-r--r-- | src/bin/scripts/t/080_pg_isready.pl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/bin/scripts/t/080_pg_isready.pl b/src/bin/scripts/t/080_pg_isready.pl index f432505d5cd..8f3f25cc364 100644 --- a/src/bin/scripts/t/080_pg_isready.pl +++ b/src/bin/scripts/t/080_pg_isready.pl @@ -1,5 +1,7 @@ use strict; use warnings; + +use PostgresNode; use TestLib; use Test::More tests => 10; @@ -9,7 +11,8 @@ program_options_handling_ok('pg_isready'); command_fails(['pg_isready'], 'fails with no server running'); -my $tempdir = tempdir; -start_test_server $tempdir; +my $node = get_new_node(); +$node->init; +$node->start; -command_ok(['pg_isready'], 'succeeds with server running'); +$node->command_ok(['pg_isready'], 'succeeds with server running'); |