From 9cc57fa37168796ebe52d0528eb585855cfa801d Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Sat, 25 Nov 2023 07:18:47 +0800 Subject: [PATCH] lntest: add verbose logging when node fails to shutdown --- lntest/harness.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lntest/harness.go b/lntest/harness.go index ccb5be930..2eed2af58 100644 --- a/lntest/harness.go +++ b/lntest/harness.go @@ -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