8000 Show node name instead of internal representation if it failed to sto… · postgrespro/postgres_cluster@4d289f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d289f7

Browse files
committed
Show node name instead of internal representation if it failed to stop during tap tests.
1 parent b469324 commit 4d289f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/mmts/Cluster.pm

Lines changed: 2 additions & 1 deletion
3E23
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ sub stop
205205
if (!stopnode($node, $mode)) {
206206
$ok = 0;
207207
if (!stopnode($node, 'immediate')) {
208-
BAIL_OUT("failed to stop $node immediately");
208+
my $name = $node->name;
209+
BAIL_OUT("failed to stop $name immediately");
209210
}
210211
}
211212
}

0 commit comments

Comments
 (0)
0