mirror of
https://github.com/postgres/postgres.git
synced 2025-08-08 06:02:22 +03:00
PostgresNode: Add names to nodes
This makes the log files easier to follow when investigating a test failure. Author: Michael Paquier Review: Noah Misch
This commit is contained in:
@@ -11,7 +11,7 @@ my $tempdir_short = TestLib::tempdir_short;
|
||||
command_exit_is([ 'pg_ctl', 'status', '-D', "$tempdir/nonexistent" ],
|
||||
4, 'pg_ctl status with nonexistent directory');
|
||||
|
||||
my $node = get_new_node();
|
||||
my $node = get_new_node('main');
|
||||
$node->init;
|
||||
|
||||
command_exit_is([ 'pg_ctl', 'status', '-D', $node->data_dir ],
|
||||
|
Reference in New Issue
Block a user