lntest: add verbose logging when node fails to shutdown

This commit is contained in:
yyforyongyu committed 2023-11-25 07:25:18 +08:00
1 parent ae09ab2a21
commit 9cc57fa371
1 file changed
+2 -1
+2 -1
View File
@@ -495,7 +495,8 @@ func (h *HarnessTest) Shutdown(node *node.HarnessNode) {
return h.manager.shutdownNode(node)
}, DefaultTimeout)
require.NoErrorf(h, err, "unable to shutdown %v", node.Name())
require.NoErrorf(h, err, "unable to shutdown %v in %v", node.Name(),
h.manager.currentTestCase)
}
// SuspendNode stops the given node and returns a callback that can be used to