lntest: add verbose logging when node fails to shutdown

This commit is contained in:
yyforyongyu 2023-11-25 07:18:47 +08:00 committed by Olaoluwa Osuntokun
parent 23e177514f
commit dd8be9fc87

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