mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-11 09:21:38 +02:00
lntest: add verbose logging when node fails to shutdown
This commit is contained in:
parent
ae09ab2a21
commit
9cc57fa371
@ -495,7 +495,8 @@ func (h *HarnessTest) Shutdown(node *node.HarnessNode) {
|
|||||||
return h.manager.shutdownNode(node)
|
return h.manager.shutdownNode(node)
|
||||||
}, DefaultTimeout)
|
}, 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
|
// SuspendNode stops the given node and returns a callback that can be used to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user